Installation
Install Ralph TUI using bun, npm, or from source. Includes prerequisites and agent setup.
Prerequisites
Before installing Ralph TUI, ensure you have the following:
Bun Runtime
Ralph TUI requires Bun >= 1.0.0 as its runtime. While you can install the package using npm or pnpm, Bun must be installed to run ralph-tui because it uses OpenTUI, which depends on Bun's native features.
Verify the installation:
AI Coding Agent
Ralph TUI orchestrates AI coding agents. You'll need at least one installed:
- Claude Code - Anthropic's official CLI for Claude
- OpenCode - Open-source alternative supporting multiple AI providers
- Factory Droid - Factory Droid CLI with JSONL tracing
Installation Methods
Choose your preferred installation method:
Bun is the recommended package manager for Ralph TUI as it provides the fastest installation and best runtime compatibility.
Post-Installation Setup
After installation, initialize Ralph TUI in your project:
The setup wizard will:
- Detect agents - Find installed AI coding agents (Claude Code, OpenCode, Factory Droid)
- Create configuration - Generate
.ralph-tui/config.tomlwith your preferences - Install skills - Add bundled skills for PRD creation and task conversion
- Detect trackers - Optionally find existing prd.json or Beads setups
You can re-run ralph-tui setup --force at any time to reconfigure your project.
Verifying Installation
Run these commands to verify everything is set up correctly:
Managing Skills
Ralph TUI includes bundled skills for PRD creation and task conversion. Skills are installed automatically to all detected agents during setup and upgrades.
Supported Agents
| Agent | Skills Location |
|---|---|
| Claude Code | ~/.claude/skills/ |
| OpenCode | ~/.opencode/skill/ |
| Factory Droid | ~/.factory/skills/ |
Manual Management
Skills are installed automatically when you upgrade ralph-tui. The migration runs on first use after upgrade and installs skills to all your detected agents.
Troubleshooting
"Agent not found"
If Ralph TUI can't find your AI agent:
- Verify the agent CLI is installed:
which claudeorwhich opencode - Ensure the agent is in your PATH
- Run
ralph-tui plugins agentsto see detected agents
"bun: command not found"
Bun may not be in your PATH. Try:
Then restart your terminal or run source ~/.bashrc (or equivalent).
Permission Errors
If you encounter permission errors during global installation:
Bun installs packages to ~/.bun/install/global by default, which shouldn't require elevated permissions. If you see errors, check that directory exists and is writable:
Next Steps
With Ralph TUI installed:
- Quick Start - Get running in 2 minutes
- CLI Commands - Learn all available commands
- Configuration - Customize your setup