LibreAI / Dev Tools / qwen-code
// devtools · QwenLM/qwen-code

qwen-code

Alibaba's open-source terminal coding agent for Qwen models — a Gemini CLI-style workflow, free to run

★ 28.4k stars⑂ 3.2k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

qwen-code is an open-source dev tools project by QwenLM (QwenLM/qwen-code on GitHub). It has 28,363 GitHub stars and 3,173 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 8 October 2026.

GitHub stars
28,363
Forks
3,173
License
Apache-2.0
Last updated on GitHub
8 October 2026
Category
Dev Tools
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Clarify your goal

    Decide what you want to achieve with qwen-code and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// features

Why people love it

Terminal-native agent

Chat-driven coding in your repo: explore, edit, run and iterate without leaving the shell.

Optimized for Qwen3-Coder

Prompts and tooling are tuned for Qwen's coding models rather than being model-generic.

MCP support

Connect external tools and servers through the Model Context Protocol.

Agent skills and workflows

Supports reusable skills/workflows for repeatable coding tasks.

Simple global install

npm install -g @qwen-code/qwen-code@latest or brew install qwen-code, then run in any project.

Open and hackable

Apache-2.0 source you can inspect, configure and extend.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Get the Qwen Code source if you want to build or modify it.

    git clone https://github.com/QwenLM/qwen-code.git
    cd qwen-code
  2. Install the CLI

    Install globally from npm (or brew install qwen-code on macOS).

    npm install -g @qwen-code/qwen-code@latest
  3. Start coding

    Run qwen in your project, sign in / configure your Qwen model access as prompted, and give it a first task.

    qwen
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains qwen-code?

qwen-code is maintained by the QwenLM organization/account on GitHub, together with open-source contributors, in the public repository QwenLM/qwen-code.

Is qwen-code free to use?

Yes — the code is open source under the Apache-2.0 license. You can use, modify and redistribute it under that license's terms.

Does qwen-code need a paid API key?

You need Qwen model access — the project documents sign-in/free-tier routes and API-key options via Alibaba's Model Studio; the CLI itself is free.

How does qwen-code compare to Gemini CLI / Claude Code?

Qwen Code shares the Gemini CLI heritage but is tuned for Qwen models; choose it when you specifically want Qwen3-Coder driving your terminal agent.

How do I get started with qwen-code?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// keep exploring

Similar tools

Dev Tools

DeepSeek-Reasonix

A terminal coding agent built for DeepSeek models — reliable, cache-aware and cheap to run

★ 35.7k starsMIT
View guide →
Dev Tools

kimi-code

Kimi Code CLI — Moonshot's terminal coding agent: single-binary TUI with video input, subagents and MCP.

★ 7.8k starsMIT
View guide →
Dev Tools

Gemini Cli

An open-source AI agent that brings the power of Gemini directly into your terminal

★ 107.2k starsApache-2.0
View guide →
Dev Tools

oh-my-pi

A coding agent with the IDE wired in — LSP, debugger, subagents and code review in your terminal

★ 34.6k starsMIT
View guide →
Dev Tools

MiMo-Code

Xiaomi's terminal-native AI coding assistant where models and agents co-evolve, with project memory.

★ 13.6k starsMIT
View guide →
Dev Tools

sidekick-agent-hub

Monitor your AI coding agent's sessions from VS Code or the terminal.

★ 85 starsMIT
View guide →
// alternatives

Alternatives in Dev Tools

The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if qwen-code is not the right fit.

Get qwen-code

Free and open — grab the source, star the repo, and start creating.