Skip to main content

Commands

cr is the short alias for coderabbit. Both work identically β€” use whichever fits your workflow.
CommandDescription
crRun code review (interactive mode by default)
cr --plainOutput detailed feedback in plain text format
cr --prompt-onlyShow minimal output optimized for AI agents
cr authAuthentication commands
cr auth loginAuthenticate with managed or self-hosted (--self-hosted)
cr auth logoutLog out from CodeRabbit
cr auth statusShow current authentication status
cr auth orgSwitch between organizations
cr reviewAI-driven code reviews with interactive or plain text output
cr updateCheck for and install the latest CLI version

Options

OptionDescription
-t, --type <type>Review type: all, committed, uncommitted (default: β€œall”)
-c, --config <files...>Additional instructions for CodeRabbit AI (e.g., claude.md, coderabbit.yaml)
--base <branch>Base branch for comparison
--base-commit <commit>Base commit on current branch for comparison
--api-key <key>Agentic API
--cwd <path>Working directory path (must contain an initialized Git repository)
--no-colorDisable colored output
PR reviews and CLI reviews will differ, even if run on the same code. CLI reviews optimize for immediate feedback during active development, while PR reviews provide comprehensive team collaboration context and broader repository analysis.