Kimi Code CLI on Windows

How Kimi Code CLI runs on Windows today, the install commands, and the route with nothing to install: an always-on Linux workspace you open in Edge or Chrome, signed in once from the Launch menu.

Updated November 23, 2026 · Checked against Kimi Code CLI 2.1.1 in EnvHaven v1.9.0

Kimi Code CLI runs natively on Windows. The PowerShell installer needs nothing else installed, and its docs list no Windows-specific gaps for the CLI. (Kimi Code CLI documentation)

There is also a way that leaves Windows out of it: in EnvHaven, Kimi Code CLI runs on a Linux workspace of its own and the PC is only the window. Nothing to install on the PC, no WSL to set up, and the PC can sleep while Kimi Code CLI works.

Kimi Code CLI from Windows, on EnvHaven

  1. Open your workspace in Edge or Chrome.
  2. Tap Launch, choose Kimi Code CLI and tap Sign in: it runs kimi login --region global for you in the terminal.
  3. Start it with one tap: signed in, Kimi Code CLI gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (2.1.1), so there is nothing to install or update.
  4. Give it a task. The image launches kimi with --auto.
  5. Prefer a terminal window? Windows’ built-in OpenSSH client (ssh in Windows Terminal or PowerShell) connects to the workspace and lands in the same session. First add your public key, or import it from GitHub, under Remote Access in the workspace’s EnvHaven sidebar.

Install Kimi Code CLI on Windows itself

PowerShell:

irm https://code.kimi.com/kimi-code/install.ps1 | iex

npm (Node.js 22.19 or later):

npm install -g @moonshot-ai/kimi-code