Using FishXCode with Qwen Code
Install Qwen Code
bash
pnpm install -g @qwen-code/qwen-codebash
npm install -g @qwen-code/qwen-codebash
yarn global add @qwen-code/qwen-codebash
bunx --global @qwen-code/qwen-codeConfigure 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
qwenPersistent Configuration
Add environment variables to your shell configuration file:
- Linux/macOS: Add to
~/.bashrcor~/.zshrc - Windows PowerShell: Add to
$PROFILE