# Qwen Code

CreateWithAI Hub page: https://createwithaihub.com/ai-agents/qwen-code
Latest version of this file: https://createwithaihub.com/ai-agents/qwen-code.md

- Type: AI agent · Category: AI Agents
- Publisher: Qwen team (Alibaba)
- Pricing: Free · License: Apache-2.0
- Works with: VS Code, JetBrains IDEs
- Runs on: macOS, Windows, Linux

Alibaba Qwen team's open-source terminal coding agent, also with a desktop app, web shell and IDE companions.

Qwen Code is an open-source coding agent for the terminal from the Qwen team at Alibaba. It connects to Qwen models through a Qwen account, QwenCloud or Alibaba ModelStudio, or to other providers and OpenAI-, Anthropic- or Gemini-compatible endpoints, including local models. It supports MCP tools, has VS Code, Zed and JetBrains integrations, and added a desktop app and a local browser Web Shell in November 2026. It is for developers who want a terminal agent tuned for Qwen models but open to others.

Useful for: Running a coding agent in the terminal against Qwen models through an Alibaba ModelStudio coding plan, or against a local model.

## Key features

- Terminal agent with runtime switching between providers
- Qwen account, QwenCloud, ModelStudio, DeepSeek, Kimi, OpenRouter and other providers
- OpenAI-, Anthropic- or Gemini-compatible custom endpoints and local models (Ollama, vLLM)
- MCP tool support
- VS Code companion (beta), Zed and JetBrains integrations; desktop app and Web Shell

## Connection

- Interface: Terminal / CLI, IDE extension, Desktop app
- Model choice: Bring your own model
- Runs: On your machine

## Before you start

- Node.js 22+ for the npm install
- A Qwen subscription, API key or other model provider

## Install steps from the official documentation

macOS / Linux:

```
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash
```

Windows:

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

npm:

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

Homebrew:

```
brew install qwen-code
```

## Limitations

- The free Qwen OAuth quota was discontinued on 2026-04-15; Qwen sign-in now needs a paid Qwen plan
- You pay for model usage through a Qwen plan, an API key or another provider
- The npm install needs Node.js 22+; the VS Code extension is in beta

## Official links

- Source repository: https://github.com/QwenLM/qwen-code
- Documentation: https://qwenlm.github.io/qwen-code-docs/en/users/overview
- Source: https://github.com/QwenLM/qwen-code (README: description, install commands, local models, IDE integrations; Apache-2.0 LICENSE)
- Source: https://qwenlm.github.io/qwen-code-docs/en/users/overview (Platforms, IDE integrations, offline install)
- Source: https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/ (Auth options: Qwen subscription, QwenCloud, ModelStudio, third-party and custom providers)
- Source: https://qwenlm.github.io/qwen-code-docs/en/users/support/tos-privacy/ (Legacy free Qwen OAuth allowance discontinued on 2026-04-15)
- Source: https://qwenlm.github.io/qwen-code-docs/en/users/features/mcp/ (MCP support)
- Source: https://qwenlm.github.io/qwen-code-docs/en/blog/quickstart/web-shell-and-desktop/ (Desktop app and Web Shell (2026-11-02))
