[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-78193":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},78193,"kimi-code","MoonshotAI\u002Fkimi-code","MoonshotAI","Kimi Code CLI  —  The Starting Point for Next-Gen Agents","https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002F",null,"TypeScript",2229,251,8,109,0,37,532,2079,231,29.2,"MIT License",false,"main",true,[],"2026-06-12 02:03:46","# Kimi Code CLI\n\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue)](LICENSE) [![Docs](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-online-blue)](https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fen\u002F) \u003Cbr>\n[Documentation](https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fen\u002F) · [Issues](https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fissues) · [中文](README.zh-CN.md)\n\n![Demo of using Kimi Code](.\u002Fdocs\u002Fmedia\u002Fintro.gif)\n\n## What is Kimi Code CLI\n\nKimi Code CLI is an AI coding agent that runs in your terminal — it can read and edit code, run shell commands, search files, fetch web pages, and choose the next step based on the feedback it receives. It works out of the box with Moonshot AI’s Kimi models and can also be configured to use other compatible providers.\n\n## Install\n\nInstall with the official script. No Node.js required.\n\n- **macOS or Linux**:\n\n```sh\ncurl -fsSL https:\u002F\u002Fcode.kimi.com\u002Fkimi-code\u002Finstall.sh | bash\n```\n\n- **Windows (PowerShell)**:\n\n```powershell\nirm https:\u002F\u002Fcode.kimi.com\u002Fkimi-code\u002Finstall.ps1 | iex\n```\n\nThen, run it with a new shell session:\n\n```sh\nkimi --version\n```\n\nFor npm install, upgrade, uninstall, see [Getting Started](https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fen\u002Fguides\u002Fgetting-started).\n\n## Quick Start\n\nOpen a project and start the interactive UI:\n\n```sh\ncd your-project\nkimi\n```\n\nOn first launch, run `\u002Flogin` inside Kimi Code CLI and choose either Kimi Code OAuth or a Moonshot AI Open Platform API key. After login, try your first task:\n\n```\nTake a look at this project and explain its main directories.\n```\n\n## Key Features\n\n- **Single-binary distribution.** Install with one command: no Node.js setup, PATH gymnastics, or global module conflicts.\n- **Blazing-fast startup.** The TUI is ready in milliseconds, so starting a session never feels heavy.\n- **Purpose-built TUI.** A carefully tuned interface for long, focused agent sessions.\n- **Video input.** Drop a screen recording or demo clip into the chat, and let the agent watch what is hard to describe in words.\n- **AI-native MCP configuration.** Add, edit, and authenticate Model Context Protocol servers conversationally with `\u002Fmcp-config`, without hand-editing JSON.\n- **Subagents for focused, parallel work.** Dispatch built-in `coder`, `explore`, and `plan` subagents in isolated contexts while keeping the main conversation clean.\n- **Lifecycle hooks.** Run local commands at key points to gate risky tool calls, audit decisions, trigger desktop notifications, or connect to your own automation.\n\n## Docs\n\n- [Getting Started](https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fen\u002Fguides\u002Fgetting-started)\n- [Interaction and approvals](https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fen\u002Fguides\u002Finteraction)\n- [Sessions](https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fen\u002Fguides\u002Fsessions)\n- [Configuration](https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fen\u002Fconfiguration\u002Fconfig-files)\n- [Command reference](https:\u002F\u002Fmoonshotai.github.io\u002Fkimi-code\u002Fen\u002Freference\u002Fkimi-command)\n\n## Develop\n\nRequirements: Node.js ≥ 24.15.0, pnpm 10.33.0.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code.git\ncd kimi-code\npnpm install\n```\n\n```sh\npnpm dev:cli    # run the CLI in dev mode\npnpm test       # run tests\npnpm typecheck  # TypeScript check\npnpm lint       # oxlint\npnpm build      # build all packages\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for the full contribution guide.\n\n## Community\n\n- [Issues](https:\u002F\u002Fgithub.com\u002FMoonshotAI\u002Fkimi-code\u002Fissues)\n- For security vulnerabilities, see [SECURITY.md](SECURITY.md).\n\n## Acknowledgements\n\nOur TUI is built on top of [`pi-tui`](https:\u002F\u002Fgithub.com\u002Fearendil-works\u002Fpi-mono\u002Ftree\u002Fmain\u002Fpackages\u002Ftui). We thank the authors of `pi-tui` for their valuable work.\n\n## License\n\nReleased under the [MIT License](LICENSE).\n","Kimi Code CLI 是一个运行在终端中的AI编码助手，能够读写代码、执行shell命令、搜索文件、抓取网页，并根据反馈选择下一步操作。该项目采用TypeScript开发，具有单二进制分发、快速启动以及专为长时间专注会话设计的TUI界面等技术特点。它支持视频输入以处理难以用文字描述的问题，并通过对话方式配置模型上下文协议服务器。此外，还提供了专注于特定任务的子代理功能及生命周期钩子，以便于集成到开发者的工作流中。适用于需要提高编码效率和探索复杂项目结构的场景。",2,"2026-06-11 03:56:33","CREATED_QUERY"]