Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何安装 Qwen Code?需要哪些前置条件?

2025-08-20 516

安装 Qwen Code 步骤

Qwen Code 支持通过 npm 或源码安装,适用于主流操作系统。

pre-conditions

  • Node.js 版本 20 或更高
  • Stable network connection
  • Alibaba Cloud 账户(用于 API 密钥)

Install via npm

  1. 安装 Node.js:
    curl -qL https://www.npmjs.com/install.sh | sh
  2. Global Installation:
    npm install -g @qwen-code/qwen-code
  3. Verify the installation:
    qwen --version

Installation via source code

  1. Cloning Warehouse:
    git clone https://github.com/QwenLM/qwen-code.git
  2. Go to the catalog:
    cd qwen-code
  3. Install the dependencies:
    npm install
  4. 全局部署:
    npm install -g .

caveat

如遇安装失败,建议检查 Node.js 版本和网络连接,或参考官方文档中的 troubleshooting 指南。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish