Introduction
pr-review is a globally-installed CLI tool that runs AI-powered pull request reviews from your terminal. It supports 5 AI providers — all accessed through their own installed CLI tools, so no API keys are required.
💡 Key principle: pr-review delegates to whatever AI CLI you already have installed (claude, copilot, codex, gemini, or agent). It handles the git diff, prompt engineering, and report writing.
How it works
- Run
pr-reviewinside any git repository - Select your AI provider and model interactively
- Choose source and destination branches
- pr-review fetches the git diff, excluding lock files and other configured ignores
- The diff is injected into a structured review prompt
- Your chosen AI CLI is called with the prompt
- The response is saved as a Markdown report (e.g.
pr-42-review.md)
Supported providers
| Provider | CLI Binary | Install |
|---|---|---|
| Claude | claude | npm install -g @anthropic-ai/claude-code |
| GitHub Copilot | copilot | npm install -g @github/copilot |
| OpenAI Codex | codex | npm install -g @openai/codex |
| Gemini | gemini | npm install -g @google/gemini-cli |
| Cursor | agent | Install Cursor app |