qwen code - error installing

When installing qwen code using the following command 

curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.sh | bash

 it stuck in endless loop. This is due to installer not having permission to the /usr folder. To resolve it

# 1. Create the directory for global packages

mkdir -p ~/.npm-global

# 2. Tell npm to use this new directory

npm config set prefix '~/.npm-global'

# 3. Open (or create) your shell profile file

# If you use Bash (default on many Linux):

echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc

source ~/.bashrc

Install gwen 

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



And walla! 


Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error