Skip to main content

Qwen Code

An open-source AI agent that lives in your terminal. Ship faster with intelligent code assistance optimized for Qwen3-Coder models.

Get Started

Jump right in and start using Qwen Code in minutes.

Installation

Install Qwen Code via npm, Homebrew, or installation script

Quick Start

Get up and running with your first AI-assisted coding session

Authentication

Configure OAuth or API key authentication

CLI Reference

Explore all available commands and options

Key Features

Qwen Code brings powerful AI capabilities directly to your terminal.

Interactive Mode

Chat with AI in an intuitive terminal interface

Headless Mode

Run AI commands in scripts and CI/CD pipelines

Subagents

Delegate tasks to specialized AI agents

Skills System

Extend capabilities with reusable skill modules

IDE Integration

Use Qwen Code inside VS Code, Zed, and JetBrains

TypeScript SDK

Build custom tools with programmatic API access

Configuration

Customize Qwen Code to fit your workflow.

Settings

Configure global and project settings

Model Providers

Set up OpenAI, Anthropic, Gemini, or custom providers

Environment Variables

Configure via environment variables

Advanced Features

Unlock the full power of Qwen Code.

Sandbox Execution

Run commands safely in isolated containers

MCP Support

Connect to Model Context Protocol servers

LSP Integration

Leverage Language Server Protocol for code intelligence

Token Caching

Reduce costs with intelligent token caching

Extend Qwen Code

Build custom extensions and contribute to the ecosystem.

Create Extensions

Build agents, commands, and context providers

Developer Guide

Understand the architecture and contribute

Community

GitHub

Star the repo and contribute on GitHub

Discord

Join our community on Discord