Skip to content

Using FishXCode with Qwen Code

Install Qwen Code

bash
pnpm install -g @qwen-code/qwen-code
bash
npm install -g @qwen-code/qwen-code
bash
yarn global add @qwen-code/qwen-code
bash
bunx --global @qwen-code/qwen-code

Configure Environment Variables

bash
export OPENAI_API_KEY="sk-xxx"
export OPENAI_BASE_URL="https://fishxcode.com/v1"
export OPENAI_MODEL="gpt-5"
powershell
$env:OPENAI_API_KEY="sk-xxx"
$env:OPENAI_BASE_URL="https://fishxcode.com/v1"
$env:OPENAI_MODEL="gpt-5"
cmd
set OPENAI_API_KEY="sk-xxx"
set OPENAI_BASE_URL="https://fishxcode.com/v1"
set OPENAI_MODEL="gpt-5"

Important

Replace sk-xxx with your actual token from the FishXCode Console.

Launch Directly

bash
cd my-project
qwen

Persistent Configuration

Add environment variables to your shell configuration file:

  • Linux/macOS: Add to ~/.bashrc or ~/.zshrc
  • Windows PowerShell: Add to $PROFILE

FishXCode - AI Coding 中转站