Kimi CLI
Kimi CLI is a command-line interface tool that provides seamless access to Moonshot AI's Kimi conversational AI model directly from the terminal. It enables developers and power users to interact with advanced AI capabilities for tasks like code generation, debugging, text analysis, and automated workflows without leaving their development environment. The tool features customizable conversation contexts, file input support, and scriptable commands for integration into CI/CD pipelines and automation scripts. Key benefits include streamlined AI-assisted development workflows, batch processing capabilities, and efficient integration with existing command-line tools and shell scripts. Ideal use cases include rapid prototyping, code review assistance, documentation generation, and automated content processing tasks where AI insights can enhance productivity and decision-making processes.
Latest Releases
All releases- feat(cli): short-circuit entry points to a Kimi Code installer by @sailist in https://github.com/MoonshotAI/kimi-cli/pull/2666
Full Changelog: https://github.com/MoonshotAI/kimi-cli/compare/1.51.0...1.52.0
- chore: archive kimi-cli and point users to Kimi Code CLI by @RealKai42 in https://github.com/MoonshotAI/kimi-cli/pull/2659
- chore(release): bump kimi-cli to 1.51.0 by @RealKai42 in https://github.com/MoonshotAI/kimi-cli/pull/2660
Full Changelog: https://github.com/MoonshotAI/kimi-cli/compare/1.50.0...1.51.0
- fix(kosong): omit empty anthropic-beta header when no beta features declared by @7Sageer in https://github.com/MoonshotAI/kimi-cli/pull/2580
- chore(release): bump kosong to 0.56.0 by @jackfish212 in https://github.com/MoonshotAI/kimi-cli/pull/2581
- feat(shell): deprecation-aware update flow with one-key migration to Kimi Code by @jackfish212 in https://github.com/MoonshotAI/kimi-cli/pull/2630
- chore(release): bump kimi-cli to 1.50.0 by @sailist in https://github.com/MoonshotAI/kimi-cli/pull/2632
Full Changelog: https://github.com/MoonshotAI/kimi-cli/compare/1.49.0...1.50.0
- fix(kimi): use remaining context for completion budget by @RealKai42 in https://github.com/MoonshotAI/kimi-cli/pull/2494
- fix(kosong): preserve empty-string reasoning_content as ThinkPart by @bigeagle in https://github.com/MoonshotAI/kimi-cli/pull/2498
- fix(kosong): stop sending Kimi reasoning effort implicitly by @RealKai42 in https://github.com/MoonshotAI/kimi-cli/pull/2499
- feat(telemetry): align events with TS schema, add trace_id and missing events by @7Sageer in https://github.com/MoonshotAI/kimi-cli/pull/2500
- chore(release): bump kimi-cli to 1.49.0 and kosong to 0.55.0 by @sailist in https://github.com/MoonshotAI/kimi-cli/pull/2503
Full Changelog: https://github.com/MoonshotAI/kimi-cli/compare/1.48.0...1.49.0
- fix(kosong): round-trip empty reasoning content by @RealKai42 in https://github.com/MoonshotAI/kimi-cli/pull/2446
- feat(soul): escalate repeated-tool-call reminders and force-stop on dead-end streak by @jackfish212 in https://github.com/MoonshotAI/kimi-cli/pull/2466
- chore(release): bump kimi-cli to 1.48.0 and kosong to 0.54.0 by @sailist in https://github.com/MoonshotAI/kimi-cli/pull/2467
New Contributors
- @sailist made their first contribution in https://github.com/MoonshotAI/kimi-cli/pull/2467
Full Changelog: https://github.com/MoonshotAI/kimi-cli/compare/1.47.0...1.48.0
Installation
curl -LsSf https://cdn.kimi.com/binaries/kimi-cli/install.sh | bash
uv tool install --python 3.13 kimi-cli