Qwen Code

Qwen Code is an open-source command-line coding agent. It helps developers explore codebases, write code, and handle development tasks from the terminal.

  1. 1
    Download and install

    Install the client from the NUSI·ONE download page. Windows (x64) and macOS 14 or later on Apple silicon are supported.

    Download buttons on the NUSI·ONE website
  2. 2
    Sign in and select a key

    Sign in to your NUSI account and select an available API key you created from the account menu.

    Select the active API key in NUSI·ONE account and key settings
  3. 3
    Install Qwen Code

    Find Qwen Code under Tool Installation in settings and follow the prompts.

  4. 4
    Open a project and start a conversation

    Open a local project or folder, start a conversation with Qwen Code, select an available model, and send a message.

Option 2: Install and configure Qwen Code yourself

  1. 1
    Install Qwen Code

    Install Node.js LTS, then run in a terminal:

    Terminal / PowerShell
    npm install -g @qwen-code/qwen-code
    qwen --version
  2. 2
    Configure the connection

    Create a key on the API keys page, select a model compatible with the protocol, and replace the placeholders. Shell examples use macOS or Linux; in Windows PowerShell use $env:NAME for environment variables.

    This example uses OpenAI Chat Completions; choose a model that supports that protocol.

    Terminal (macOS / Linux)
    export OPENAI_API_KEY="YOUR_NUSI_KEY"
    export OPENAI_BASE_URL="https://nusi.si/v1"
    export OPENAI_MODEL="YOUR_MODEL_ID"
    qwen --auth-type openai
    Choose your key on the API keys page and replace YOUR_NUSI_KEY with it for OPENAI_API_KEY.
  3. 3
    Open a project and verify

    Open a test project and send a message, then check the console usage record. For a 401 or 403, check the key and permissions; if the model is unavailable, check its ID, protocol, and URL.