Kimi Code CLI

Kimi Code is Moonshot AI's terminal coding agent: it reads the project, edits files and runs commands. Installs with one script, no Node.js needed.

  • 7,857 ★ on the repository
  • Last commit
CLIOfficial

Broad access

Why this level

  • Runs shell commands and edits project files
  • Installs plugins, MCP servers and data sources from the marketplace
  • Sends code and prompts to Moonshot AI servers when using Kimi models
All reasons and checks

moonshotai/kimi-code

Install

Manual install

curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash

macOS and Linux. No Node.js needed.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Runs shell commands and edits project files
  • Installs plugins, MCP servers and data sources from the marketplace
  • Sends code and prompts to Moonshot AI servers when using Kimi models

This is third-party code. Review the repository files before installing.

What it does

Kimi Code (the `kimi` command) is a coding agent from Moonshot AI, the company behind Kimi. It reads and edits code, runs shell commands, searches files and fetches web pages. It works with Kimi models and other compatible providers. The agent ships as a single binary. It includes MCP setup via `/mcp-config`, a plugin marketplace with skills, MCP servers and data sources showing a trust level for each, coder, explore and plan subagents, lifecycle hooks and video input. Through ACP (`kimi acp`) it plugs into Zed and JetBrains editors.

Who it is for. Developers who want a terminal agent on Kimi models or already pay for a Kimi subscription.

Good fit when

  • You want a terminal agent on Kimi models
  • You already have a Kimi Plus or higher subscription
  • You want a single-binary agent without Node.js or Python

Not a fit when

  • Your code must not leave company servers
  • You cannot let an agent run commands on your main machine

Example request

Run kimi in the project folder, study the code structure and propose a refactoring plan for the payments module

Limitations

You need to sign in: a Kimi account on Plus or higher, or a Moonshot AI platform API key. Requests to Kimi models go to Moonshot AI servers.

The agent runs shell commands and installs plugins, so review what it executes. Windows requires Git for Windows.

How to disable. Exit the `kimi` session. Plugins and MCP servers are disabled in the agent settings; remove the agent by deleting its binary.

FAQ

Is Kimi Code free?

The agent itself is MIT-licensed. To use it you need a Kimi account on Plus or higher, or a Moonshot AI platform API key billed per token.

How do I install Kimi Code?

On macOS and Linux run `curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash`, on Windows run `irm https://code.kimi.com/kimi-code/install.ps1 | iex` in PowerShell. No Node.js needed; check with `kimi --version`.

How do I sign in to Kimi Code?

Run `kimi` in the project folder and use `/login`: sign in with a Kimi account or enter a Moonshot AI platform API key.

How is Kimi Code different from kimi-cli?

Kimi Code replaces the older Python kimi-cli, which is no longer developed. The new agent ships as a single binary.

Does Kimi Code support MCP?

Yes, MCP servers are added with `/mcp-config`, and the plugin marketplace includes ready MCP servers and skills.

Discussion

No questions or reviews yet.

CLI tools
Editors’ pick

An open-source coding agent for VS Code, JetBrains and the terminal with hundreds of models to choose from

CLIBroad access27.6KRepository stars

A terminal coding agent built on Codex, tuned for low-cost open models like Kimi K3, DeepSeek and Qwen

CLIExtended access68.6KRepository stars
Editors’ pick

An open source coding agent for the terminal and desktop with build and plan modes

CLIBroad access213.3KRepository stars

A self-hosted runtime for coding agents: each crew in its own Linux container, wrapped in a control plane with roles and audit

CLIBroad access4Repository stars
Editors’ pick

An open-source terminal coding agent from the Qwen team that works with Qwen, OpenAI, Anthropic, Gemini and local models

CLIBroad access28.5KRepository stars

A coding agent tuned for small local models, with a minimal system prompt, a planning mode and background sub-agents for research

CLIExtended access2.7KRepository stars

README in short

The README covers install on macOS, Linux and Windows, `/login`, MCP setup, the plugin marketplace, subagents, hooks and ACP editor integration.

README badge

Report a problem

Foxx AIKimi Code
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.