# kimi-cli を Homebrew, scoop, winget でインストール

kimi-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Windows

- Scoop (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:kimi-cli
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/kimi-cli>
- **バージョン:** 1.48.0
- **ソース概要:** CLI agent for MoonshotAI Kimi platform
- **ホームページ:** <https://moonshotai.github.io/kimi-cli/>
- **リポジトリ:** <https://github.com/MoonshotAI/kimi-cli>
- **上流ドキュメント:** <https://moonshotai.github.io/kimi-cli/>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/e9/a9/3d25e80362abb7345a5dd05dc47cdcdc627e8d810d027943cc4647dcdb03/kimi_cli-1.48.0.tar.gz>
- **最終更新:** 2026-08-02T01:26:52+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- kimi (cli)
- kimi-cli (cli)
- kimi (エイリアス)
- kimi-cli (エイリアス)

## 依存関係

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

## ビルド依存関係

- pkgconf
- pybind11
- rust

## macOS 提供ライブラリ

- libffi
- libxml2
- libxslt

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.48.0
- マネージャ更新日: 2026-08-02
- ローカルデータ: OK
- 上流リポジトリ: https://moonshotai.github.io/kimi-cli/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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.

### ソース

- <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/>


## セキュリティノート

kimi-cli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ 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:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kimi-cli
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://pkg.so/ja/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/ja/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [pybind11](https://pkg.so/ja/brew/pybind11/) - Build dependency declared by Homebrew.
- [gemini-cli](https://pkg.so/ja/brew/gemini-cli/) - Shares pkgdb curated category or tags: ai, ai-agent, cli, coding-agents, developer-tool.
- [pi-coding-agent](https://pkg.so/ja/brew/pi-coding-agent/) - Shares pkgdb curated category or tags: ai, ai-agent, cli, coding-agents, terminal.
- [letta-code](https://pkg.so/ja/brew/letta-code/) - Shares pkgdb curated category or tags: ai, ai-agent, cli, coding-agent, coding-agents.
- [mimo-code](https://pkg.so/ja/brew/mimo-code/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents, terminal.
- [zero](https://pkg.so/ja/brew/zero/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents, terminal.
- [opencode](https://pkg.so/ja/brew/opencode/) - Shares pkgdb curated category or tags: ai, cli, coding-agents, terminal.
- [qwen-code](https://pkg.so/ja/brew/qwen-code/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [beads](https://pkg.so/ja/brew/beads/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [mistral-vibe](https://pkg.so/ja/brew/mistral-vibe/) - Local package facts share a topical domain. Shared terms: agent, agents, ai, certifi, cli.
- [gptme](https://pkg.so/ja/brew/gptme/) - Both packages touch the same language runtime or ecosystem. Shared terms: agent, agents, ai, certifi, cli.
- [pieces-cli](https://pkg.so/ja/brew/pieces-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: agents, ai, certifi, cli, coding.

## Combined YAML source

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


## ソース

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