Q
QwenLM/qwen-code
An open-source AI coding agent that lives in your terminal.
在 GitHub 查看 ↗链接已于 2026-11-14 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
- 复制上面的命令
- 粘成
claude_desktop_config.json里mcpServers的一项(本地服务器用 command + args,示例见 客户端接法) - 重启客户端
取自该仓库的安装命令
brew install qwen-code
解析自我们于 2026-11-12 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 30,112 ★ · QwenLM/qwen-code · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-13 · 最近见到 2026-11-13 · 共见到 1 次 · 被 1 个来源列出
- 安装
brew install qwen-code
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
brew install qwen-code。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们还没有为它记录标签。
谁维护它、还在更新吗?
仓库
QwenLM/qwen-code;我们收录于 2026-11-13;最近见到 2026-11-13。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。The open-source AI coding agent for your terminal, editor, desktop, browser, and
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
中文 |
Deutsch |
français |
日本語 |
Русский |
Português (Brasil) |
한국어
| 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, Auto-Skills, SubAgents, Agent Teams, and MCP. Dynamic workflows, zero setup.
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 / Feishu).
> [!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 me where to start.
See the Authentication Guide and Settings Reference for detailed setup.
See the terminal interface
## How to Use Qwen Code
Choose the interface that fits your workflow:
| Interface | Get started |
| Terminal | Run qwen in your project — see Quick Start. |
| Desktop | Download Qwen Code Desktop for macOS, Windows, and Linux. |
| Web | Run qwen serve --open to open the Web UI in your browser. _(experimental)_ |
| Editor | Set up VS Code, Zed, or JetBrains. |
| Chat | Connect Telegram, DingTalk, WeChat, or Feishu, then run qwen channel start. |
For automation and custom integrations:
Headless — Run qwen -p "..." in scripts, CI/CD, or batch jobs.
SDKs — Build with TypeScript, Python, or Java.
Daemon — Run qwen serve to connect clients over HTTP + SSE (ACP). _(experimental)_ Daemon guide.
Computer Use — Set up native MCP tools or Node REPL + SDK in Qwen Code, Claude Code, or Codex.
SDK example (Python)
python
import asyncio
from qwen_code_sdk import is_sdk_result_message, query
async def main() -> None:
result = query(
"Summarize the repository layout.",
"cwd": "/path/to/project",
"path_to_qwen_executable": "qwen",
},
async for message in result:
if is_sdk_result_message(message):
print(message["result"])
asyncio.run(main())
## Daemon Mode
Run Qwen Code as a long-lived service when you want browser, editor, SDK, and automation clients to share agent sessions without each starting a separate process. The daemon provides the built-in Web Shell and an HTTP + SSE API, supports multiple workspaces, and lets clients reconnect to active sessions.
Deutsch |
français |
日本語 |
Русский |
Português (Brasil) |
한국어
| 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, Auto-Skills, SubAgents, Agent Teams, and MCP. Dynamic workflows, zero setup.
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 / Feishu).
> [!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 me where to start.
See the Authentication Guide and Settings Reference for detailed setup.
See the terminal interface
## How to Use Qwen Code
Choose the interface that fits your workflow:
| Interface | Get started |
| Terminal | Run qwen in your project — see Quick Start. |
| Desktop | Download Qwen Code Desktop for macOS, Windows, and Linux. |
| Web | Run qwen serve --open to open the Web UI in your browser. _(experimental)_ |
| Editor | Set up VS Code, Zed, or JetBrains. |
| Chat | Connect Telegram, DingTalk, WeChat, or Feishu, then run qwen channel start. |
For automation and custom integrations:
Headless — Run qwen -p "..." in scripts, CI/CD, or batch jobs.
SDKs — Build with TypeScript, Python, or Java.
Daemon — Run qwen serve to connect clients over HTTP + SSE (ACP). _(experimental)_ Daemon guide.
Computer Use — Set up native MCP tools or Node REPL + SDK in Qwen Code, Claude Code, or Codex.
SDK example (Python)
python
import asyncio
from qwen_code_sdk import is_sdk_result_message, query
async def main() -> None:
result = query(
"Summarize the repository layout.",
"cwd": "/path/to/project",
"path_to_qwen_executable": "qwen",
},
async for message in result:
if is_sdk_result_message(message):
print(message["result"])
asyncio.run(main())
## Daemon Mode
Run Qwen Code as a long-lived service when you want browser, editor, SDK, and automation clients to share agent sessions without each starting a separate process. The daemon provides the built-in Web Shell and an HTTP + SSE API, supports multiple workspaces, and lets clients reconnect to active sessions.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/qwenlm-qwen-code/)
- 来源
- github · https://github.com/QwenLM/qwen-code
- Traction
- 30,112 ★
- 收录于
- 昨天