Skip to content

InstallationΒΆ

Currently for remote suggestions, Qodo Merge has to be installed and active on your Git repository (GitHub / GitLab).

Install Qodo CommandΒΆ

Qodo Merge CLI is a review tool within Qodo Command, a command-line interface for running and managing AI agents.

To use Qodo Command, you'll need first Node.js and npm installed. Then, to install Qodo Command, run:

npm install -g @qodo/command

Login and Setup

To start using Qodo Command, you need to log in first:

qodo login

Once login is completed, you'll receive an API key in the terminal. The API key is also saved locally in the .qodo folder in your home directory, and can be reused (e.g., in CI). The key is tied to your user account and subject to the same usage limits.

Using Qodo Merge CLIΒΆ

After you set up Qodo Command, you can start using Qodo Merge CLI by running:

qodo merge

Set Up Git ClientΒΆ

On first run, the CLI will check for your Git client (GitHub CLI or GitLab CLI). If not found, it will guide you through the installation process.

GH Installation

Quick UsageΒΆ

There are two ways to specify which PR to review:

(1) Auto Detect PR from current branch run this command in your CLI:

qodo merge

(2) Specify PR number or URL

qodo merge 303

qodo merge https://github.com/owner/repo/pull/303

Then the tool will automatically fetch the suggestions from the PR and display them in an interactive table.

Fix All Mode

Next StepsΒΆ

  1. Get Started: Try your first PR review
  2. Explore Features: Learn about all capabilities

The CLI will guide you through any additional setup needed when you first run qodo merge.

Footer