Qwen CLI

From Notes_Wiki

Home > Local system based AI tools > Qwen CLI

Installation

Install (As root) using:

npm install -g @qwen-code/qwen-code


Usage

Download various qwen3 models from the ollama site. Then create 'start_qwen.sh' with:

export OPENAI_API_KEY="ollama_dummy_key"
export OPENAI_BASE_URL="http://localhost:11434/v1"
export OPENAI_MODEL="qwen3:4b"

Make it executable with 'chmod +x start_qwen.sh'

Go to required folder for project

Execute start_qwen.sh. Choose required color theme and start prompting qwen to write code


Overall output is not as good as Gemini CLI even with qwen3:32b.

Home > Local system based AI tools > Qwen CLI