Installation
Quick Install
npm install -g ralph-starter
Or use directly with npx:
npx ralph-starter
Requirements
- Node.js 18+ - Required for running ralph-starter
- Coding Agent - At least one of the supported agents (see setup below)
- Git - For version control features (
--commit,--push,--pr) - GitHub CLI - For PR creation and GitHub source integration
Setting Up a Coding Agent
ralph-starter works with several AI coding agents. You need at least one installed:
Claude Code (Recommended)
The official Anthropic CLI for Claude.
# Install via npm
npm install -g @anthropic-ai/claude-code
# Authenticate
claude login
Claude Code offers the best integration with ralph-starter's autonomous loops.
Cursor
AI-powered code editor with built-in agent capabilities.
- Download from cursor.sh
- Install and open Cursor
- Sign in with your account
- Enable the Cursor CLI:
Cursor → Install 'cursor' command
Codex (OpenAI)
OpenAI's coding assistant.
# Install the OpenAI CLI
npm install -g openai
OpenCode
Open-source alternative with multiple model support.
# Install
npm install -g opencode-ai
# Configure
opencode setup
Verify Installation
ralph-starter --version
LLM Provider Configuration
ralph-starter uses an LLM for the interactive wizard and spec refinement. Configure your preferred provider:
Anthropic (Recommended)
ralph-starter config set providers.anthropic.apiKey sk-ant-xxxx
ralph-starter config set llm.provider anthropic
OpenAI
ralph-starter config set providers.openai.apiKey sk-xxxx
ralph-starter config set llm.provider openai
OpenRouter
ralph-starter config set providers.openrouter.apiKey sk-or-xxxx
ralph-starter config set llm.provider openrouter
Without an API key configured, ralph-starter falls back to using your installed coding agent for LLM tasks.
Post-Install Setup
After installing, run the interactive setup wizard to configure your environment:
ralph-starter setup
This guides you through:
- Selecting your preferred coding agent
- Configuring LLM API keys
- Setting up integration sources (GitHub, Linear, etc.)
- Choosing default workflow presets
Verify Your Setup
Check that everything is configured correctly:
ralph-starter check
This validates your configuration, tests LLM connectivity, and verifies agent availability.
Next Steps
After installation:
- Run
ralph-starter setupto configure your environment - Run
ralph-starterto launch the interactive wizard - Or run
ralph-starter ideasif you need help brainstorming - Check out the Interactive Wizard guide