Terminal-based AI coding agent with access to 500+ models. Plan, write, debug, and refactor code without leaving your terminal.
Prerequisites
Node.js v18.0 or later
npm
Installation
# Install globally (recommended) npm install -g @kilocode/cli
# Or run without installing npx @kilocode/cli
# Verify kilo --version
Enter fullscreen mode
Exit fullscreen mode
Older CPUs (no AVX support): Download the -baseline binary from GitHub Releases for your platform instead.
First-Time Setup
kilo # launch TUI /connect # add your API key interactively
Enter fullscreen mode
Exit fullscreen mode
Or configure manually at ~/.config/kilo/config.json :
{ "$schema" : "https://app.kilo.ai/config.json" , "provider" : { "anthropic" : { "apiKey" : "YOUR_API_KEY" } } }
Enter fullscreen mode
Exit fullscreen mode
Basic Usage
kilo # launch interactive TUI kilo run "fix the login bug" # one-shot prompt kilo --help # show all options
Enter fullscreen mode
Exit fullscreen mode
Key CLI Commands
Command Description
kilo…