Installation guide

AI Code Reviews in CLI lets you run fast, high-quality AI-powered code reviews directly from your terminal. It works on macOS, Linux, and Windows, and installation typically takes a few minutes.

This guide walks you through installation steps.

Prerequisites

1

Bito API Key (aka Bito Access Key)

You'll need a Bito account and a Bito Access Key to authenticate AI Code Reviews in CLI. You can sign up for a Bito account at https://alpha.bito.aiarrow-up-right, and create an access key from Settings -> Advanced Settingsarrow-up-right

Installation guide

1

Download and install the CLI

macOS and Linux:

Open a terminal and run:

curl -fsSL https://bitoreview.bito.ai/install.sh | bash

Windows:

Open PowerShell and run:

irm https://bitoreview.bito.ai/install.ps1 | iex
circle-info

Tip: If you encounter execution policy errors, run PowerShell as Administrator or allow script execution temporarily.


What gets installed:

The installer will:

  1. Download the CLI binary for your platform

  2. Install it in a user-local directory:

    • macOS/Linux: ~/.bitoreview/bin/

    • Windows: %USERPROFILE%\.bitoreview\bin\

  3. Add the binary to your PATH so the bitoreview command is available globally

  4. Install bito-wingman (the AI engine) if it is not already present

  5. Create a br alias for quick access

2

Reload your terminal environment

To make the CLI available immediately, restart your terminal or reload your shell configuration.

macOS / Linux:

Restart your terminal or run:

# Bash
source ~/.bashrc

# Zsh (macOS default)
source ~/.zshrc

Windows:

  • Restart PowerShell or

  • Run refreshenv if Chocolatey is installed

3

Verify installation

Confirm that the CLI is installed correctly:

bitoreview --version

The installer also creates a shortcut alias:

br --version
circle-info

Both commands should return the same version.

4

Authentication

To run code reviews, the CLI requires a valid Bito API key (aka Bito Access Key).

Get Bito API key:

You can sign up for a Bito account at https://alpha.bito.aiarrow-up-right, and create an access key from Settings -> Advanced Settingsarrow-up-right


Configure the Bito API key:

You can configure authentication in multiple ways.

  • Method 1: Interactive setup (recommended) - You'll be prompted to paste your Bito API key securely.

bitoreview config set-api-key

  • Method 2: Direct CLI setup - Useful for automation or scripted setups.

bitoreview config set-api-key YOUR_API_KEY_HERE
circle-info

Note: replace YOUR_API_KEY_HERE with your actual Bito API key.

  • Method 3: Environment variable - Useful for CI/CD pipelines, shared machines, temporary or project-specific credentials

export BITO_API_KEY=YOUR_API_KEY_HERE
circle-info

Note: replace YOUR_API_KEY_HERE with your actual Bito API key.


Verify your Bito API key:

To confirm your Bito API key is configured correctly, run:

bitoreview config show-api-key

Bito API key resolution priority

If multiple API keys are configured, the CLI resolves them in the following order:

  1. Command-line flag: --api-key YOUR_KEY

  2. Environment variable: BITO_API_KEY

  3. Stored configuration file: ~/.bitowingman/env

This makes it easy to override credentials per command, project, or environment.

5

Next steps

You’re now ready to run AI-powered code reviews from your terminal.

Last updated