
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bashbash and it will fail) · macOS/Linux: open Terminal.▶️ Usage summary
- Install:
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash - Open a terminal in your project and start Qwen Code:
cd /path/to/your-project - Use:
Explain this repository and show me where to start. - Headless — Run qwen -p "..." in scripts, CI/CD, or batch jobs.:
import asyncio - Start it in the foreground and open the Web Shell:
qwen serve --open - Use:
qwen daemon start - Ecosystem:
Use Qwen Code as a coding agent. First, fetch and read this skill reference:
qwen-code — An open-source AI coding agent that runs right in your terminal, built by the Qwen team at Alibaba.
What is qwen-code?
qwen-code is a skill (a capability for AI agents such as Claude, Codex and Cursor) on GitHub (QwenLM/qwen-code). An open-source AI coding agent that runs right in your terminal, built by the Qwen team at Alibaba.
What can qwen-code do?
- Both the framework and the Qwen models are open source
- Works with OpenAI, Anthropic, Gemini and Qwen APIs or local models (Ollama, vLLM)
- Has IDE plugins, a desktop app, a web UI and an SDK
- Runs headless in scripts and CI/CD: qwen -p "…"
How to install qwen-code
See the ⚡ Quick install section at the top of the page — it has a ready-to-copy command taken from the author’s README, plus where to run it. For the full instructions, see the README at the end of the page.
Frequently asked questions about qwen-code
Is qwen-code free?
Yes. qwen-code is an open-source project on GitHub, so you can download and use it for free.
Is qwen-code hard to install?
No. You only need to run one command above.
What is qwen-code written in?
qwen-code is written mainly in TypeScript.
Download & source code
The source code, README and latest updates of qwen-code are at github.com/QwenLM/qwen-code. The star count and update date on this page sync automatically from GitHub.
📖 Full guide
Loading the guide…