# 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](https://qwenlm.github.io/qwen-code-docs/en/users/overview/))

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

1. Open your workspace in Edge or Chrome.
2. 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.
3. 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.
4. Give it a task. Runs with the default approval mode; add `--yolo` for unattended runs.
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 Qwen Code on Windows itself

PowerShell:

```powershell
irm https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.ps1 | iex
```

npm (Node.js 22 or later):

```bash
npm install -g @qwen-code/qwen-code@latest
```

## Keep reading

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

Source: https://envhaven.com/agents/qwen-code/windows
