macOS
brew install kimi-clilocal Homebrew formula metadata
brew
CLI agent for MoonshotAI Kimi platform. Version 1.48.0 via Homebrew; verified 2026-06-23.
install
brew install kimi-clilocal Homebrew formula metadata
scoop install main/kimi-cliScoop official bucket manifest trees · bucket/kimi-cli.json · source: api.github.com
winget install --id MoonshotAI.KimiCLI -eWindows Package Manager source index · MoonshotAI.KimiCLI · source: cdn.winget.microsoft.com
overview
CLI agent for MoonshotAI Kimi platform
history
Kimi CLI is MoonshotAI's terminal AI agent for software-development and shell workflows. Its README describes an agent that can edit code, execute commands, fetch web pages, plan, and adjust actions from terminal feedback.
Kimi CLI was the earlier MoonshotAI terminal-agent package around the Kimi platform. The repository includes Python package structure, docs, examples, SDK material, tests, and release automation, showing a full CLI product rather than a thin API wrapper.
In 2026 the project began a transition to Kimi Code CLI. The README states that Kimi CLI is evolving into Kimi Code CLI, that installing Kimi Code CLI migrates configuration and sessions, and that the Kimi CLI project will be gradually wound down while docs and existing installations remain available.
Kimi CLI accumulated a visible developer audience on GitHub and was packaged for Homebrew in this batch. Its official README also documents integrations with VS Code, Agent Client Protocol-compatible editors, Zsh, and MCP servers, placing it in the 2025-2026 wave of terminal AI agent tooling.
The companion kimi-agent-rs repository describes a Rust rewrite of the Python kimi-cli runtime that must preserve wire protocol, message formats, ~/.kimi data layout, tool schemas, and externally observable behavior, which is a strong signal that Kimi CLI had become a compatibility target inside MoonshotAI's agent tooling.
Users run Kimi CLI as an interactive terminal agent, authenticate with /login, connect MCP servers, and use it either directly in a terminal or as an ACP agent server for editors such as Zed or JetBrains IDEs.
Its configuration and credential paths matter to package users because Kimi Code CLI migration preserves that state rather than treating the successor as a clean-room replacement.
Kimi CLI is interesting as a transition package: it represents the Python-era MoonshotAI terminal agent and the compatibility surface that newer runtimes and successor CLIs had to carry forward.
For package managers, the useful bit is not only the binary name but the state layout under ~/.kimi, because that is what determines whether upgrades and successor packages can avoid breaking developer sessions.
security posture
No matching local secret-handling manifest was found for kimi-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.kimi/config.toml~/.kimi/mcp.jsonCredential-bearing paths to review before unattended agent runs.
~/.kimi/config.toml~/.kimi/credentials/<provider>.json~/.kimi/mcp-oauth/executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
kimi | cli | global executable | |
kimi-cli | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://moonshotai.github.io/kimi-cli/
install metadata
| Package key | brew:kimi-cli |
|---|---|
| Version | 1.48.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/kimi-cli |
| Homepage | https://moonshotai.github.io/kimi-cli/ |
| Repository | https://github.com/MoonshotAI/kimi-cli |
| Upstream docs | https://github.com/MoonshotAI/kimi-cli#readme |
| License | Apache-2.0 |
| Source archive | https://files.pythonhosted.org/packages/e9/a9/3d25e80362abb7345a5dd05dc47cdcdc627e8d810d027943cc4647dcdb03/kimi_cli-1.48.0.tar.gz |
| Last updated | 2026-06-23T17:58:48Z |
| Pulse | updated |
| Dependencies | certifi, cryptography, libyaml, pillow, pydantic, python@3.14, re2, rpds-py |
| Build dependencies | pkgconf, pybind11, rust |
| Uses from macOS | libffi, libxml2, libxslt |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kimi-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
main/kimi-cli
scoop install main/kimi-cliMoonshotAI.KimiCLI
winget install --id MoonshotAI.KimiCLI -eMoonshotAI.Kimi
winget install --id MoonshotAI.Kimi -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.