Quick Start
Node.js 20+, a GitLab or GitHub repository, Claude Code signed in. No API key: claude, glab and gh all use OAuth.
1. Install
npm install -g reviewflowContributing instead? See CONTRIBUTING.md.
2. Set up
reviewflow setupChecks dependencies, confirms the Claude sign-in, installs and starts the daemon (systemd), generates secrets, registers the project and prints the webhook URL. It stops at the first blocking error.
| Need | Command |
|---|---|
| Configuration only | reviewflow init (--yes for defaults) |
| More repositories later | reviewflow discover |
| Every flag | CLI reference |
Configuration lives in ~/.config/reviewflow/ on Linux, ~/Library/Application Support/reviewflow/ on macOS, %APPDATA%\reviewflow\ on Windows. XDG_CONFIG_HOME overrides it.
3. Expose and add the webhook
cloudflared tunnel --url http://localhost:3847 # or: ngrok http 3847| GitLab | GitHub | |
|---|---|---|
| URL | https://<tunnel>/webhooks/gitlab | https://<tunnel>/webhooks/github |
| Event | Merge request events | Pull requests, application/json |
| Secret | printed by setup, or reviewflow init --show-secrets | same |
| Triggers a review | Reviewer assigned | Review requested, or the needs-review label |
| CLI used | glab | gh |
4. Start
On Linux, reviewflow setup already installed and started the reviewflow-app systemd service. Elsewhere, or after reviewflow init:
reviewflow start # --daemon to detach, --open to open the dashboardreviewflow validate # check the configuration
reviewflow status5. First review
Assign yourself as reviewer on a merge request or pull request, then open http://localhost:3847/dashboard/.
Where reviews run
Each MR gets its own worktree in ~/.reviewflow/worktrees/<platform>-<slug>-<mrNumber>; your checkout is never touched. Follow-ups fast-forward it, merge or close removes it. See Worktree Lifecycle.
Next: Dashboard · Project configuration · Review skills · Deployment · Troubleshooting