惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
Recent Announcements
Recent Announcements
B
Blog
D
Docker
V
V2EX
GbyAI
GbyAI
L
LangChain Blog
博客园 - Franky
U
Unit 42
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
博客园_首页
D
DataBreaches.Net
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
量子位
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Kilo CLI — Installation & Usage Guide
KALPESH · 2026-04-25 · via DEV Community

KALPESH

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 Launch interactive TUI
kilo run [message] Run a prompt non-interactively
kilo upgrade Update to latest version
kilo uninstall Remove Kilo
kilo models List available models
kilo stats Show token usage & costs
kilo auth Manage providers & credentials
kilo session Manage sessions
kilo export Export session as JSON
kilo pr <number> Checkout a GitHub PR and run Kilo

Slash Commands (inside TUI)

Command Description
/connect Add a provider / API key
/models Switch AI model
/agents Switch agent mode
/new Start a new session
/sessions Resume a previous session
/compact Summarize the session
/undo / /redo Undo or redo a message
/export Export transcript
/themes Switch UI theme
/exit Quit

Agent Modes

Switch with /agents inside the TUI:

Mode Purpose
Architect Plan features before coding
Ask Ask questions about your codebase
Debug Trace and fix bugs
Orchestrator Run parallel multi-agent tasks
Custom Define your own agent

Update & Uninstall

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

Enter fullscreen mode Exit fullscreen mode


Links