# 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
- **バージョン:** 1.48.0
- **ソース概要:** CLI agent for MoonshotAI Kimi platform
- **ホームページ:** <https://moonshotai.github.io/kimi-cli/>
- **リポジトリ:** <https://github.com/MoonshotAI/kimi-cli>
- **最終更新:** 2026-08-02T01:26:52+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

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

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.48.0
## プロジェクトの歴史と使われ方

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 を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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/
## 他のパッケージマネージャ記録

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
