CodeCrab Docs · Claude Code
Claude Code is Anthropic’s command-line coding agent. CodeCrab runs it locally on your computer, in read-only mode, to review PRs, merge requests and local changes with your own Claude account or API key.
What you need
Claude Code is one of three supported agents. You only need one ready agent; Cursor CLI or Codex CLI work as alternatives.
Install Claude Code
On macOS or Linux, use Anthropic’s native installer.
macOS / Linux · Terminal
curl -fsSL https://claude.ai/install.sh | bashOn Windows, use the PowerShell installer.
Windows · PowerShell
irm https://claude.ai/install.ps1 | iexAlready use Node.js? You can install it globally with npm instead.
Terminal
npm install -g @anthropic-ai/claude-codeSign in
Start Claude Code once and complete the login in your browser. Then exit with /exit.
Terminal
claudeActivate it in CodeCrab
- Quit and reopen CodeCrab so it finds claude on your PATH.
- Open the Ready to run badge; the AI agent row should show Claude Code.
- If several agents are ready, open Settings → Models → Claude Code and click Use Claude Code.
- Pick a review model in the same tab.
Troubleshooting
| Problem | Fix |
|---|---|
| claude: command not found | Open a new terminal. On macOS, make sure the install folder is on PATH in ~/.zshrc, then restart CodeCrab. |
| Agent row still says Setup needed | Run claude in a terminal to confirm you are signed in, then click Re-check. |
| Login expired | Run claude again and repeat the browser login. |
