# Install kimi-cli with Homebrew, scoop, winget

CLI agent for MoonshotAI Kimi platform. Version 1.48.0 via Homebrew; verified 2026-06-23.

## Install

```sh
sudo av install brew:kimi-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kimi-cli
```

  Evidence: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/kimi-cli
```

  Evidence: Scoop official bucket manifest trees: bucket/kimi-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id MoonshotAI.KimiCLI -e
```

  Evidence: Windows Package Manager source index: MoonshotAI.KimiCLI from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:kimi-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/kimi-cli>
- **Version:** 1.48.0
- **Source summary:** CLI agent for MoonshotAI Kimi platform
- **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
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- kimi (cli)
- kimi-cli (cli)
- kimi (alias)
- kimi-cli (alias)

## Dependencies

- certifi
- cryptography
- libyaml
- pillow
- pydantic
- python@3.14
- re2
- rpds-py

## Build dependencies

- pkgconf
- pybind11
- rust

## Uses from macOS

- libffi
- libxml2
- libxslt

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 1.48.0
- Package-manager updated: 2026-06-23
- Local data: ok
- Upstream repository: https://moonshotai.github.io/kimi-cli/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2026: Kimi CLI release 1.46.0 included docs announcing the evolution to the Kimi Code successor project.
- 2026: Kimi CLI release 1.47.0, released on 2026-06-05, renamed project docs to Kimi CLI and guided users to upgrade to Kimi Code.
- 2026: Kimi CLI release 1.48.0 assets were published on 2026-06-22.

### Related projects

- Kimi Code CLI is the successor project named by the Kimi CLI README.
- kimi-agent-rs is the Rust rewrite that preserves Kimi CLI compatibility.
- Agent Client Protocol, MCP, Zsh integration, and the Kimi Code VS Code extension are adjacent integration surfaces documented by the project.

### Sources

- <https://github.com/MoonshotAI/kimi-agent-rs>
- <https://github.com/MoonshotAI/kimi-cli>
- <https://github.com/MoonshotAI/kimi-cli/releases>
- <https://moonshotai.github.io/kimi-cli/>


## Security Notes

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.



## Configuration and credential file locations

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.


## Configuration files

- Unix: ~/.kimi/config.toml, ~/.kimi/mcp.json

## Credential files

- Unix: ~/.kimi/config.toml, ~/.kimi/credentials/<provider>.json, ~/.kimi/mcp-oauth/
## Source Database Details

- **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:** head, stable

## Other Package-Manager Records

- Scoop - main/kimi-cli: normalized package name match | Scoop official bucket manifest trees: bucket/kimi-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - MoonshotAI.KimiCLI: normalized package name match | Windows Package Manager source index: MoonshotAI.KimiCLI from https://cdn.winget.microsoft.com/cache/source.msix
- winget - MoonshotAI.Kimi: installed executable or alias match | Windows Package Manager source index: MoonshotAI.Kimi from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [pybind11](https://www.automicvault.com/pkg/brew/pybind11/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [chatblade](https://www.automicvault.com/pkg/brew/chatblade/) - Shares av.db curated category or tags: ai, cli, developer-tools, terminal.
- [langgraph-cli](https://www.automicvault.com/pkg/brew/langgraph-cli/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [openskills](https://www.automicvault.com/pkg/brew/openskills/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [skillshare](https://www.automicvault.com/pkg/brew/skillshare/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [chalk-cli](https://www.automicvault.com/pkg/brew/chalk-cli/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [chars](https://www.automicvault.com/pkg/brew/chars/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ddgr](https://www.automicvault.com/pkg/brew/ddgr/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [figlet](https://www.automicvault.com/pkg/brew/figlet/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [gptme](https://www.automicvault.com/pkg/brew/gptme/) - Both packages touch the same language runtime or ecosystem. Shared terms: agent, ai, certifi, cli, cryptography.
- [mistral-vibe](https://www.automicvault.com/pkg/brew/mistral-vibe/) - Both packages touch the same language runtime or ecosystem. Shared terms: agent, ai, certifi, cli, coding.
- [oterm](https://www.automicvault.com/pkg/brew/oterm/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, cryptography, developer.

## Combined YAML source

View the package source record on GitHub. [combined/kimi-cli.yml](https://github.com/automic-vault/db/blob/main/combined/kimi-cli.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
