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
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.ai, and create an access key from Settings -> Advanced Settings
Installation guide
Download and install the CLI
macOS and Linux:
Open a terminal and run:
curl -fsSL https://bitoreview.bito.ai/install.sh | bashWindows:
Open PowerShell and run:
irm https://bitoreview.bito.ai/install.ps1 | iexWhat gets installed:
The installer will:
Download the CLI binary for your platform
Install it in a user-local directory:
macOS/Linux:
~/.bitoreview/bin/Windows:
%USERPROFILE%\.bitoreview\bin\
Add the binary to your PATH so the
bitoreviewcommand is available globallyInstall bito-wingman (the AI engine) if it is not already present
Create a
bralias for quick access
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 ~/.zshrcWindows:
Restart PowerShell or
Run
refreshenvif Chocolatey is installed
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.ai, and create an access key from Settings -> Advanced Settings
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-keyMethod 2: Direct CLI setup - Useful for automation or scripted setups.
bitoreview config set-api-key YOUR_API_KEY_HEREMethod 3: Environment variable - Useful for CI/CD pipelines, shared machines, temporary or project-specific credentials
export BITO_API_KEY=YOUR_API_KEY_HEREVerify your Bito API key:
To confirm your Bito API key is configured correctly, run:
bitoreview config show-api-keyBito API key resolution priority
If multiple API keys are configured, the CLI resolves them in the following order:
Command-line flag:
--api-key YOUR_KEYEnvironment variable:
BITO_API_KEYStored configuration file:
~/.bitowingman/env
This makes it easy to override credentials per command, project, or environment.
Next steps
Youβre now ready to run AI-powered code reviews from your terminal.
How to use? β Run your first code review
Available commands β Complete reference of CLI commands
Configuration β Customize behavior for your workflow
Last updated

