Qwen Code on Windows
How Qwen Code 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 Qwen Code 0.24.6 in EnvHaven v1.9.0
Qwen Code runs natively on Windows. The Windows build is x64 only, and sandboxing on Windows needs Docker or Podman. (Qwen Code documentation)
There is also a way that leaves Windows out of it: in EnvHaven, Qwen Code 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 Qwen Code works.
Qwen Code from Windows, on EnvHaven
- Open your workspace in Edge or Chrome.
- Tap Launch, choose Qwen Code and tap Sign in: it starts Qwen Code, which asks you to sign in the first time. For an API key, choose Set key instead and paste
OPENAI_API_KEY; the workspace keeps it write-only. - Start it with one tap: signed in, Qwen Code gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (0.24.6), so there is nothing to install or update.
- Give it a task. Runs with the default approval mode; add
--yolofor unattended runs. - Prefer a terminal window? Windows’ built-in OpenSSH client (
sshin 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 Qwen Code on Windows itself
PowerShell:
irm https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.ps1 | iex
npm (Node.js 22 or later):
npm install -g @qwen-code/qwen-code@latest