Tested on Windows 10 with Powershell.
1. Install Node.js
Open PowerShell and run:
winget install -e --id OpenJS.NodeJS
Verify installation:
node -v
npm -v
If node is not recognized
Add Node.js to the PATH:
Double check node.exe is in C:\Program Files\nodejs folder.
[Environment]::SetEnvironmentVariable(
"Path",
([Environment]::GetEnvironmentVariable("Path","User") + ";C:\Program Files\nodejs"),
"User"
)
$env:Path += ";C:\Program Files\nodejs"
Check again:
node -v
npm -v
2. Install Gemini CLI
Install globally with npm:
npm install -g @google/gemini-cli
Run it:
gemini
Authenticate in the browser when prompted.
3. Install Qwen-Code
Install globally with npm:
npm install -g @qwen-code/qwen-code@latest
Check installation:
qwen --version
Run it:
qwen
Sign in with your Qwen account (or configure with API key).