Install & Update
Choosing a Version
- Everyday use: choose a desktop installer from the latest GitHub Release, or the latest stable npm package.
- Testing new features: use GitHub
main. This manual followsmain; not every documented feature is in a stable package yet. - Mobile currently uses development builds. For testing, prefer Gateway and client builds from the same revision.
Desktop Installation
Desktop installers include the Gateway and its runtime. You do not need to install Node.js or npm just to run Desktop. Backend Agent installation, authentication, and configuration are separate; see Backend Agents.
Download from the release page:
| Platform | Installation |
|---|---|
| macOS | Open the .dmg, drag Qwen Audio Agent into Applications, then open the app. |
| Windows | Run the .exe installer and follow the setup wizard. |
Continue with the Desktop guide. Linux users can build from source.
One-line Install
The following requirements apply to CLI / source installations: Node.js ^22.22.2, ^24.15.0, or >=26.0.0, and npm 10+. The source repository includes .nvmrc and .node-version; with nvm, run nvm use.
Install the stable release:
npm install -g qwen-audio-agentInstall the latest development code from GitHub:
npm install -g git+https://github.com/QwenAudio/qwen-audio-agent.gitInstall from Source
git clone https://github.com/QwenAudio/qwen-audio-agent.git
cd qwen-audio-agent
npm ci
npm run buildRun directly from the repository root without a global installation:
npm run cli -- config
npm run gateway
# In another terminal
npm run cli -- webuiTo use qwenaudio from any directory, also run npm run install:global. Use npm run desktop for the development Desktop app; this is separate from an installed release.
Upgrade
Desktop can check for updates in Settings, or you can download a new installer. Update the stable CLI:
npm install -g qwen-audio-agent@latestFor GitHub development installs, rerun the GitHub installation command above. Restart the Gateway you actually use after updating: foreground runs, background services, and Desktop differ.
Verify Installation
qwenaudio --version
qwenaudio configThe first command shows the installed version; the second shows the configuration path and creates a template if missing. Neither verifies API credentials or model connectivity. Configure the app and complete a conversation using the quickstart.
Development builds provide qwenaudio doctor for read-only diagnostics. qwenaudio setup checks backend installations and integration components, not authentication or quota. See Troubleshooting.
Configuration File Location
CLI and Desktop share ~/.config/qwaudio/config.env by default, but keep separate runtime state. See configuration and data directories for overrides and storage details.
Obtain a DashScope API Key
- Open the Bailian API Key page, sign in, and create a key.
- Enter it in Desktop settings or as
DASHSCOPE_API_KEYinconfig.env.
See the official free-quota guide for eligibility and conditions. Check available quota and billing settings before use. Do not expose keys or commit configuration files.