Qwen Code CLI

An open-source terminal coding agent from the Qwen team that works with Qwen, OpenAI, Anthropic, Gemini and local models

  • 28,798 ★ on the repository
  • Last commit
  • Apache-2.0
CLIEditors’ pick

Broad access

Why this level

  • The agent runs shell commands and modifies project files
  • Project code is sent to the chosen model provider
All reasons and checks

qwenlm/qwen-code

Install

Works in

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/qwen-code

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The agent runs shell commands and modifies project files
  • Project code is sent to the chosen model provider

This is third-party code. Review the repository files before installing.

What it does

Qwen Code starts with the qwen command inside a project and lets you talk to the codebase: it explains the structure, edits files and runs commands. It supports subagents, hooks, skills, MCP, plan mode and git worktrees. The model provider can be switched at runtime, including Ollama or vLLM. Besides the terminal there is a desktop app, a web UI via qwen serve, plugins for VS Code, Zed and JetBrains, and a headless qwen -p mode for scripts and CI.

Who it is for. For developers who want an open alternative to Claude Code with a free choice of model, local ones included.

Good fit when

  • You need a terminal agent not tied to one model vendor
  • You want to work with a local model via Ollama or vLLM
  • You need to run an agent in CI in headless mode

Not a fit when

  • Your team has standardized on another agent and has no plans to switch
  • You have neither cloud API access nor hardware for a local model

Example request

Explain how this repository is organized and show me where to start

Limitations

It needs a model provider key or a local model server. Access to cloud APIs from Russia depends on the provider: OpenAI, Anthropic and Gemini do not work without a VPN, local models do. The npm install requires Node.js 22+. The web UI and daemon mode are marked experimental.

How to disable. Remove the package with npm uninstall -g @qwen-code/qwen-code or brew uninstall qwen-code; settings live in ~/.qwen.

FAQ

Is it a Gemini CLI fork?

It started from Gemini CLI, but since version 0.1 it is developed independently and no longer syncs with upstream.

Can it run without cloud models?

Yes, the README lists local model support via Ollama and vLLM.

Discussion

No questions or reviews yet.

CLI tools

A terminal coding agent built on Codex, tuned for low-cost open models like Kimi K3, DeepSeek and Qwen

CLIExtended access68.7KRepository stars

An open terminal coding agent in Rust: reads the project, edits files and runs commands on any model, including a local one through Ollama

CLIBroad access41.1KRepository stars

A teaching terminal coding agent in Python, built as a "nanoGPT for agents": read it, take it apart and fork it

CLIBroad access1.9KRepository stars

An open coding agent for the terminal, browser and desktop that works with models from OpenAI and Claude to Ollama

CLIBroad access359Repository stars

A coding agent tuned for small local models, with a minimal system prompt, a planning mode and background sub-agents for research

CLIExtended access2.7KRepository stars

A developer console AI assistant based on Qwen Code: code analysis and edits, git automation, OpenAI-compatible APIs, Hugging Face and image input

CLIBroad access464Repository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialRepository starsMain difference
Qwen Code (this entry)no28,798
Zerono1,770a Go terminal coding agent that works with any model and asks
Devono341an open-source coding agent in Rust with a persistent Python workspace

README in short

The README covers installation via script, npm or Homebrew, and the first run with /auth. It lists the interfaces: terminal, desktop, web, editors and chat app channels. It includes a feature table compared with Claude Code and SWE-bench Verified results. SDKs for TypeScript, Python and Java are mentioned. Apache-2.0 licensed.

README badge

Report a problem

Foxx AIQwen Code
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.