Qwen Code Quick Start: From Installation to Your First AI Coding Task
If you’re new to Qwen Code, this guide walks you through everything from scratch: installation, configuration, conversation, and extensions — four steps to get the full workflow running. Each step includes a video demo, so just follow along.
Installing Qwen Code
Qwen Code supports one-click installation via a script, covering Windows, macOS, and Linux.
macOS / Linux:
bash -c "$(curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.sh)" -s --source websiteWindows (PowerShell):
curl -fsSL -o %TEMP%\install-qwen.bat https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.bat && %TEMP%\install-qwen.bat --source websiteAfter installation, run qwen --version to confirm it’s installed successfully. You can also install via npm:
npm i @qwen-code/qwen-code@latest -gFor a detailed walkthrough of the installation process, watch this video covering everything from download to verification:
Configuring a Model Provider
After installation, Qwen Code will guide you through connecting to a model provider. We recommend using Alibaba Cloud’s Model Studio (Bailian) platform.
- Go to Alibaba Cloud Model Studio to get your API Key
- Run
qwenin your terminal to start, then select Alibaba ModelStudio - Paste your API Key and select a model
If you prefer manual configuration, edit ~/.qwen/settings.json:
{
"modelProviders": {
"openai": [
{
"id": "qwen3.5-plus",
"name": "[Bailian] qwen3.5-plus",
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"envKey": "BAILIAN_API_KEY"
}
]
},
"env": {
"BAILIAN_API_KEY": "your-api-key"
}
}Once configured, use the /model command to view and switch models:
Starting Your First Conversation
Navigate to your project directory and launch Qwen Code:
cd your-project && qwenJust describe what you want to do in natural language. For example:
Write a Python function to calculate the Fibonacci sequenceOr ask the AI to help organize your files:
Organize the files in this folder by type into different subfoldersQwen Code will automatically break down the task, execute operations, and return results. You don’t need to guide it step by step — just describe the goal.
Installing Skills Extensions
Skills are Qwen Code’s capability extension system. You can install community-developed Skills on demand to give the AI additional specialized abilities.
Installing a Skill is simple — just one sentence:
Install find-skills for meOr use the command directly:
/skills find-skills install web-component-design -y -a qwen-codeAfter installation, use /skills to view your installed Skills.
VS Code Integration
If you prefer working inside an editor, Qwen Code offers a VS Code extension. Search for “Qwen Code” in the extension marketplace and install it. Once installed, you can chat with the AI directly from the sidebar for a seamless coding experience.
What’s Next
Now that you’re up and running, here are some directions to explore next:
- An Assistant That Thinks Like a Programmer — Learn about Qwen Code’s design philosophy
- Real-World Cases — See actual use cases and tutorials
- Advanced Usage — Skills, Bailian CLI, and other advanced features
- Showcase Video Demos — More video walkthroughs of various scenarios