Kilo Code: Installation and Setup Guide
In our first post, we introduced the core concepts of Kilo Code and why it’s a game-changer for agentic software development. Now, it’s time to get your hands dirty.
Kilo Code Deep Dive Series
This comprehensive series covers Kilo Code (kiro.dev) - the AI-first agentic development platform:
- Part 1: Introduction to Agentic Development - Understanding agents, skills, rules, and workflows
- Part 2: Installation and Setup Guide - Kiro IDE, CLI, and VSCode/JetBrains extensions
- Part 3: Qwen Code CLI Integration - 1M token context with free tier
- Part 4: Understanding Modes and Orchestrator - Specialized agent personas for different tasks
- Part 5: Codebase Indexing with Qdrant - Semantic search across your repository
- Part 6: Spec-Driven Development (SDD) - Structured approach to complex features
- Part 7: Steering and Custom Agents - Persistent instructions and specialized agents
- Part 8: Advanced MCP Integration - Connect to GitHub, filesystem, and external tools
- Part 9: Skills - Extending Agent Capabilities - Create reusable expertise packages
- Part 10: Parallel Agents and Agent Manager - Multi-task workflows with Git worktrees
- Part 11: Checkpoints - Your AI Safety Net - Automatic snapshots and rollback for AI changes
- Part 12: Mastering Codebase Indexing - Semantic search and AI context configuration
✓ 12 parts complete!
Getting started with Kilo Code takes just minutes
In this guide, we’ll walk you through the installation process for the three main ways to use Kilo Code: the Kilo Code IDE, the Kilo Code CLI, and IDE Extensions.
Option 1: Kilo Code IDE (Recommended for Most Users)
The Kilo Code IDE is a standalone, AI-native IDE based on VS Code. All your favorite extensions work out of the box, but with deep AI integration.
Step 1: Download Kilo Code
Visit https://kilo-code.dev and download the installer for your platform:
| Platform | Download | Size |
|---|---|---|
| macOS (Intel/Apple Silicon) | .dmg |
~150 MB |
| Windows (x64/ARM) | .exe |
~180 MB |
| Linux (deb/rpm/AppImage) | Multiple formats | ~160 MB |
Step 2: Install
macOS:
# Download and mount
open ~/Downloads/kilo-code.dmg
# Drag to Applications folder
# Or use terminal:
cp -R /Volumes/Kilo Code/Kilo Code.app /Applications/
Windows:
# Run the installer
Start-Process ~\Downloads\kilo-code-setup.exe
Linux (Ubuntu/Debian):
# Download and install
sudo dpkg -i kilo-code_1.0.0_amd64.deb
sudo apt-get install -f # Fix dependencies if needed
Step 3: First Launch
- Open Kilo Code IDE
- You’ll see a welcome screen with setup options
- Choose your preferred AI provider (we’ll configure Qwen in the next post)
- Sign in with GitHub (optional, for settings sync)
Step 4: Migrate VS Code Settings (Optional)
Kilo Code can import your existing VS Code configuration:
File → Preferences → Settings → Import from VS Code
This migrates:
- Keyboard shortcuts
- Themes and icons
- Snippets
- Workspace settings
Option 2: Kilo Code CLI (For Terminal Lovers)
The Kilo Code CLI brings agentic AI directly to your terminal. It’s lightweight, scriptable, and perfect for CI/CD pipelines.
Prerequisites
- Node.js 18+ or bun runtime
- Git installed and configured
- Terminal with true color support (optional, for TUI)
Installation Methods
Method 1: npm (Recommended)
npm install -g kilo-code
Method 2: bun (Fastest)
bun install -g kilo-code
Method 3: Homebrew (macOS/Linux)
brew install kilo-code-dev/kilo-code/kilo-code
Method 4: Binary Download
# macOS (Apple Silicon)
curl -L https://github.com/kilo-code-dev/kilo-code/releases/latest/download/kilo-code-darwin-arm64 -o /usr/local/bin/kilo-code
chmod +x /usr/local/bin/kilo-code
# Linux (x64)
curl -L https://github.com/kilo-code-dev/kilo-code/releases/latest/download/kilo-code-linux-x64 -o /usr/local/bin/kilo-code
chmod +x /usr/local/bin/kilo-code
Verify Installation
kilo-code --version
# Output: kilo-code version 1.0.0
kilo-code doctor
# Checks your environment and reports any issues
Quick Start
# Navigate to your project
cd ~/projects/my-app
# Start Kilo Code interactive mode
kilo-code
# Or run a single command
kilo-code "Create a new Python Flask app with user authentication"
Option 3: IDE Extensions
If you prefer to stay in your existing IDE, Kilo Code offers extensions for popular editors.
VS Code / VSCodium
- Open Extensions panel (
Ctrl+Shift+XorCmd+Shift+X) - Search for “Kilo Code”
- Click Install
- Reload window when prompted
Direct Install:
code --install-extension kilo-code.kilo-code
JetBrains IDEs (IntelliJ, PyCharm, WebStorm)
- Open Settings → Plugins
- Search for “Kilo Code”
- Click Install
- Restart IDE
Manual Install:
- Download from JetBrains Marketplace
- Settings → Plugins → ⚙️ → Install Plugin from Disk
- Select downloaded
.zipfile
Neovim / Vim
Add to your plugin manager configuration:
Lazy.nvim:
{
"kilo-code-dev/kilo.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("kilo").setup({
provider = "qwen", -- or your preferred provider
})
end
}
Packer.nvim:
use {
"kilo-code-dev/kilo.nvim",
requires = { "nvim-lua/plenary.nvim" },
config = function()
require("kilo").setup()
end
}
Post-Installation Setup
1. Configure AI Provider
Kilo Code supports multiple AI providers. We’ll cover Qwen integration in detail in the next post, but here’s a quick start:
In Kilo Code IDE:
Settings → Kilo Code → AI Provider → Select "Qwen Code CLI"
In Kilo Code CLI:
kilo-code config set provider qwen
kilo-code config set model qwen-coder-32b
2. Set Up Project Configuration
Create a .kilocode/ folder in your project root:
mkdir -p .kilocode
touch .kilocode/config.json
Basic config.json:
{
"provider": "qwen",
"model": "qwen-coder-32b",
"mode": "orchestrator",
"indexing": {
"enabled": true,
"provider": "qdrant"
}
}
3. Create Your First Agent Session
In Kilo Code IDE:
- Open a project folder
- Press
Cmd+K(macOS) orCtrl+K(Windows/Linux) - Type: “Explain this codebase to me”
In Kilo Code CLI:
cd ~/projects/my-app
kilo-code "Analyze this codebase and create a summary"
Troubleshooting
Common Installation Issues
Issue: “Command not found” after CLI install
# Check your PATH
echo $PATH
# npm global bin location
npm bin -g
# Add to your shell config (~/.zshrc or ~/.bashrc)
export PATH="$(npm bin -g):$PATH"
Issue: Kilo Code IDE won’t start on Linux
# Install required dependencies
sudo apt-get install -y libgtk-3-0 libnss3 libasound2
# Or use AppImage instead
chmod +x kilo-code.AppImage
./kilo-code.AppImage
Issue: Extension doesn’t load in VS Code
- Check VS Code version (must be 1.85+)
- Reload window:
Cmd+Shift+P→ “Developer: Reload Window” - Check output panel:
View → Output → Kilo Code
Verify Everything Works
Run the diagnostic command:
kilo-code doctor
Expected output:
✓ Kilo Code CLI is installed (v1.0.0)
✓ Node.js is available (v20.11.0)
✓ Git is configured
✓ AI provider is connected
✓ Indexing service is running
✓ All systems operational!