Difference between revisions of "Qwen CLI"

From Notes_Wiki
(Created page with "Home > Local system based AI tools > Qwen CLI =Installation= Install (As root) using: <pre> npm install -g @qwen-code/qwen-code </pre> ==Usage== Download various qwen3 models from the ollama site. Then create '<tt>start_qwen.sh</tt>' with: <pre> export OPENAI_API_KEY="ollama_dummy_key" export OPENAI_BASE_URL="http://localhost:11434/v1" export OPENAI_MODEL="qwen3:4b" </pre> Make it executable with '<tt>chmod +x start_qwen.sh</tt>' Go to requir...")
(No difference)

Revision as of 13:59, 27 July 2025

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