QwenLM /qwen-code

An open-source AI coding agent that lives in your terminal.

★ 30,529⑂ 3,534👁 150⑃ 10,104● 6,798▤ 843
TypeScriptApache-2.0Created 2025-06-26qwenlm.github.io/qwen-code-docs/en/users/overview
下载:SDK TypeScript Release v0.1.34sdk-typescript-v0.1.34 ↓0.1.342026-11-15
+80
日增长
30,529
stars
3,534
forks
150
watchers
10,104
prs
6,798
issues
843
releases

README

The open-source AI coding agent for your terminal, editor, desktop, browser, and chat.

中文 |
Deutsch |
français |
日本語 |
Русский |
Português (Brasil) |
한국어



!Qwen Code in the terminal, desktop app, browser, editor, and chat, with VS Code, Zed, JetBrains, Telegram, DingTalk, WeChat, and Feishu integrations

| Qwen Code 1.0 Preview                                                                                                                                                                                                                                                                                                                                                              |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Qwen Code 1.0 Preview brings together the agent harness capabilities of Qoder and Qwen Code in an open-source release.Try Qwen Code 1.0 Preview · Documentation · 中文文档. |

 Why Qwen Code?

- Agentic out of the box — Auto-Memory, Skills, SubAgents, and MCP work from the first session. Agent Teams, Agent Arena, and Dynamic Workflows are built in too — experimental or opt-in, as noted in Capabilities.
- Open-source, inside and out — The framework and the Qwen models are open-source. They evolve together. No vendor lock-in.
- Multi-protocol — Supports OpenAI, Anthropic, Gemini, and Qwen APIs. Any third-party provider or local model (Ollama / vLLM). Switch at runtime.
- Beyond the terminal — IDE plugins, Desktop app, Web UI, SDKs, and chat integrations (Telegram / DingTalk / WeChat / WeCom / Feishu and more).

 [!TIP]
 Qwen Code is actively iterating on itself — using its own agent and models to file issues, submit PRs, review code, and run tests. Powered by the community, driven by AI.

 Installation

Looking for Qwen Code 1.0 Preview? Get started here. The instructions below are for the main version.

Linux / macOS:

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


Windows:

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


 Restart your terminal after installation to ensure environment variables take effect.


NPM / Homebrew

NPM (requires Node.js 22+):

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


Homebrew (macOS / Linux):

bash
brew install qwen-code




 Quick Start

Open a terminal in your project and start Qwen Code:

bash
cd /path/to/your-project
qwen


Inside the session, run /auth and choose Qwen Account with Subscription to sign in with your Plus or Pro subscription, or configure a provider with an API key. Then try:

text
Explain this repository and show 

Top issues

Discussions

Latest release

SDK TypeScript Release v0.1.34 sdk-typescript-v0.1.34 2026-11-15
Bundled CLI Version

This SDK release bundles CLI version: 0.27.4

Source: CLI built from source (same branch/ref as SDK)

---

 Bundled CLI Version

This SDK release bundles CLI version: 0.27.3

Source: CLI built from source (same branch/ref as SDK)

---

 Bundled CLI Version

This SDK release bundles CLI version: 0.27.2

Source: CLI built from source (same branch/ref as SDK)

---

 Bundled CLI Version

This SDK release bundles CLI version: 0.27.1

Source: CLI built from source (same branch/ref as SDK)

---

 Bundled CLI Version

This SDK release bundles CLI version: 0.27.0

Source: CLI built

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON