# 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](https://moonshotai.github.io/kimi-code/en/guides/getting-started))

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:

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

npm (Node.js 22.19 or later):

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

## Keep reading

- [Kimi Code CLI](https://envhaven.com/agents/kimi-code-cli)
- [Kimi Code CLI in the browser](https://envhaven.com/agents/kimi-code-cli/browser)
- [Kimi Code CLI on iPhone](https://envhaven.com/agents/kimi-code-cli/iphone)
- [Kimi Code CLI on iPad](https://envhaven.com/agents/kimi-code-cli/ipad)
- [Kimi Code CLI on Android](https://envhaven.com/agents/kimi-code-cli/android)
- [Kimi Code CLI on a Chromebook](https://envhaven.com/agents/kimi-code-cli/chromebook)
- [Coding agents on Windows](https://envhaven.com/agents/windows)

Source: https://envhaven.com/agents/kimi-code-cli/windows
