About Qwen Code
Qwen Code, from the Qwen team, is a terminal coding agent forked from Google's Gemini CLI and developed independently since v0.1. Run qwen in a project and it plans changes, edits files, runs commands and tests, and delegates to subagents.
Approval modes range from per-call confirmation to auto-edit and YOLO, plus a read-only plan mode, so on a CloudSat VPS it can work in tmux on a disposable clone. Headless qwen -p runs suit cron and CI.
It needs Node.js 22 or newer, and /auth handles sign-in on first start.
What you get with Qwen Code
- Subagents for focused tasks in the foreground or background
- MCP servers for extra tools, resources and prompts
- Headless mode with
qwen -pfor scripts - Hooks, LSP integration and Git worktrees
- Providers from Qwen and OpenAI to Ollama and vLLM
Qwen Code use cases
- Let an agent work through a backlog on a server that stays online
- Run scripted reviews or fixes from cron or CI
- Pair it with local models served by Ollama or vLLM
After you deploy Qwen Code
- When Running appears, connect by SSH and create an unprivileged account for the agent.
- Clone your project, start a
tmuxsession and launchqweninside the repository. - Run
/authand pick a Qwen account with a Plus or Pro subscription, or set up a provider with an API key. - Begin in plan mode, and widen the approval mode only after its changes earn your trust.
Qwen Code ports
Open these in your firewall if you use one: 22/tcp SSH; the agent itself listens on nothing.
Qwen Code FAQ
Is Qwen Code free to use?
The CLI is free under Apache-2.0; models are not. Use a Qwen Plus or Pro subscription, another provider's API key, or a local model.
How does Qwen Code relate to Gemini CLI?
It started from Gemini CLI v0.8.2 and stopped syncing with upstream at Qwen Code v0.1, so the two projects now develop separately.
Disclaimer. The Qwen Code project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.