Kimi Code
Kimi Code is Kimi’s coding agent for exploring projects, editing code, and carrying out development tasks in the terminal through natural-language conversation.
Option 1 (recommended): Use NUSI·ONE
- 1Download and install
Install the client from the NUSI·ONE download page. Windows (x64) and macOS 14 or later on Apple silicon are supported.

- 2
- 3Install Kimi Code
Find Kimi Code under Tool Installation in settings and follow the prompts.
- 4Open a project and start a conversation
Open a local project or folder, start a conversation with Kimi Code, select an available model, and send a message.
Option 2: Install and configure Kimi Code yourself
- 1Install Kimi Code
Install Node.js LTS, then run in a terminal:
Terminal / PowerShellnpm install -g @moonshot-ai/kimi-code kimi --version - 2Configure the connection
Create a key on the API keys page, select a model compatible with the protocol, and replace the placeholders. Shell examples use macOS or Linux; in Windows PowerShell use $env:NAME for environment variables.
Set these variables in the launching terminal. Use the actual model ID and context window from the console. This uses Chat Completions.
Terminal (macOS / Linux)export KIMI_MODEL_NAME="YOUR_MODEL_ID" export KIMI_MODEL_API_KEY="YOUR_NUSI_KEY" export KIMI_MODEL_PROVIDER_TYPE="openai" export KIMI_MODEL_BASE_URL="https://nusi.si/v1" export KIMI_MODEL_MAX_CONTEXT_SIZE="YOUR_CONTEXT_SIZE" kimiChoose your key on the API keys page and replace
YOUR_NUSI_KEYwith it forKIMI_MODEL_API_KEY. - 3Open a project and verify
Open a test project and send a message, then check the console usage record. For a 401 or 403, check the key and permissions; if the model is unavailable, check its ID, protocol, and URL.
