Kilo CLI — Installation & Usage Guide

Published: (April 25, 2026 at 05:18 AM EDT)
2 min read
Source: Dev.to

Source: Dev.to

Installation

  • Requirements: Node.js v18.0 or later, npm
  • Install globally (recommended):
    npm install -g @kilocode/cli
  • Or run without installing:
    npx @kilocode/cli
  • Verify installation:
    kilo --version
  • Older CPUs (no AVX support): download the -baseline binary from GitHub Releases for your platform.

Configuration

Launch the TUI:

kilo

Add your API key interactively:

/connect

Or configure manually at ~/.config/kilo/config.json:

{
  "$schema": "https://app.kilo.ai/config.json",
  "provider": {
    "anthropic": {
      "apiKey": "YOUR_API_KEY"
    }
  }
}

Basic Usage

  • Launch interactive TUI:
    kilo
  • One‑shot prompt:
    kilo run "fix the login bug"
  • Show all options:
    kilo --help

Commands

CommandDescription
kiloLaunch interactive TUI
kilo run [message]Run a prompt non‑interactively
kilo upgradeUpdate to latest version
kilo uninstallRemove Kilo
kilo modelsList available models
kilo statsShow token usage & costs
kilo authManage providers & credentials
kilo sessionManage sessions
kilo exportExport session as JSON
kilo prCheckout a GitHub PR and run Kilo

TUI Commands

CommandDescription
/connectAdd a provider / API key
/modelsSwitch AI model
/agentsSwitch agent mode
/newStart a new session
/sessionsResume a previous session
/compactSummarize the session
/undo / /redoUndo or redo a message
/exportExport transcript
/themesSwitch UI theme
/exitQuit

Agent Modes (switch with /agents inside the TUI)

ModePurpose
ArchitectPlan features before coding
AskAsk questions about your codebase
DebugTrace and fix bugs
OrchestratorRun parallel multi‑agent tasks
CustomDefine your own agent

Upgrade & Uninstall

kilo upgrade                    # update
npm uninstall -g @kilocode/cli  # uninstall

Resources

  • Documentation:
  • GitHub:
  • npm package:
0 views
Back to Blog

Related posts

Read more »

Bypass Netflix's Household Verification

Overview I created a browser extension that bypasses Netflix’s household verification. Instead of modifying the UI, the extension intercepts Netflix’s API resp...