Requirements
- Visual Studio Code 1.93.1 or later
- The built-in Git extension (
vscode.git), enabled
coderabbit.agentType and coderabbit.autoStartTask are ignored, and only your user settings apply. See the settings reference.
Git must be installed on the machine where the extension runs, because the built-in Git extension uses it. For the editors that browser sign-in supports, see Supported editors.
Install from your editor
1
Open the Extensions view
In VS Code, select the Extensions icon in the activity bar, or press
Cmd+Shift+X on macOS or Ctrl+Shift+X on Windows and Linux. Other editors have an equivalent view.2
Search for CodeRabbit
Type âCodeRabbitâ in the search box.
3
Check the publisher
Make sure the publisher is CodeRabbit and the extension ID is
coderabbit.coderabbit-vscode. The same extension is listed on the VS Code Marketplace and on Open VSX.4
Install it
Select Install.
5
Sign in
The CodeRabbit icon appears in the activity bar, and the notification âLog in to CodeRabbit to get started!â offers Login. Continue with Sign in and manage your account.
Recommended settings
Set your preferred coding agent right after you install. Fix with AI hands findings to the agent incoderabbit.agentType. The default, Native, uses your editorâs built-in chat and behaves differently in each editor. If you work with Claude Code, Codex, or another agent, set it now so findings go straight to that agent.
See Choose your agent for every value and what it does, and Open the settings for where to change it.
Other installation options
Install from a VSIX file
Use this when your editorâs extension gallery doesnât list CodeRabbit. With CodeRabbit Cloud, sign-in still works only in the editors under Supported editors; other editors canât complete it.1
Download the VSIX
Open the Open VSX listing and download the latest version.
2
Install it
In your editor, open the Command Palette and run Extensions: Install from VSIXâŚ, then select the downloaded file.
Install in remote, container, and cloud workspaces
In a Remote-SSH, WSL, Dev Containers, or Codespaces window, the extension runs on the machine that hosts the workspace, so install it there, and make sure Git is installed there too. Git commands, the files a review sends, CLI setup, and the terminals that Fix with AI opens all run on that machine. The extensionâs network connections also start there, so that machineâs proxy, DNS, and firewall rules apply; see Network access for the hosts. To install the extension in every dev container for a project, add it todevcontainer.json:
devcontainer.json
Set up the CLI and agent skills
This step is optional. The extension reviews code without the CodeRabbit CLI. Set up the CLI if you also want to run reviews from a terminal or let coding agents call CodeRabbit through skills.- When the CodeRabbit CLI isnât installed yet, the extension offers Install CLI + skills once, in a trusted workspace. Select Not now to skip it. You can run setup at any time with CodeRabbit: Set up CLI and skills in the Command Palette.
- Setup installs the CodeRabbit CLI if itâs missing. It never updates an existing CLI. It then runs
coderabbit skillsin a terminal, where you choose and approve the skills to install. - Setup needs a trusted workspace in a desktop editor. In a remote window, it runs on the remote machine. It isnât available in browser-based sessions.
- If the terminal shows âThis CLI does not support skills yetâ, run
coderabbit update, then run setup again.
Whatâs next
Sign in
Sign in through your browser and pick the organization that CodeRabbit uses for your reviews.
Run a review
Choose the changes and base branch to review, then start your first review.
Troubleshooting
Fix installation, sign-in, and review problems.