Ralph — install

ralph-install initialises Ralph in a new project — installs the global CLI if needed and creates the project-specific structure.


When to use

  • Setting up Ralph in a new project
  • Initialising Ralph infrastructure on a fresh VPS
  • First-time setup

Flow

StepAction
1. Global CLI checkralph --help → if missing, clone https://github.com/frankbria/ralph-claude-code.git to ~/ralph-claude-code and run ./install.sh
2. Project structuremkdir -p scripts/ralph/archive
3. Copy templatesralph.sh, CLAUDE.md, prd.json.example from the eduka reference (working implementation)
4. Initialise progress.txtStamped header with start date
5. Iteration log dirdocs/00-ralph/iteration-log.md
6. Task queue filedocs/next-ralph-tasks.md if missing
7. Clean old structureIf pre-existing .ralph/ folder from frankbria setup — STOP, ask Bruno first before removing

Resulting layout

scripts/ralph/
├── CLAUDE.md         ← Instructions for Ralph
├── archive/          ← Completed PRDs
├── prd.json.example  ← Template reference
├── progress.txt      ← Progress log
└── ralph.sh          ← Run script

docs/
├── 00-ralph/
│   └── iteration-log.md  ← Iteration tracking
└── next-ralph-tasks.md   ← Task queue

Modifiers

ModifierEffect
--skip-globalSkip the global CLI installation check
--forceOverwrite existing scripts/ralph/ folder

Next steps after install

  1. Add tasks with ralph-task
  2. Deploy with ralph-deploy
  3. Run: ./scripts/ralph/ralph.sh --tool claude {N}