Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Qwen Code on a VPS

Qwen Code is an Apache-2.0 AI coding agent for the terminal. It edits your project and runs commands with Qwen, OpenAI, Anthropic, Gemini or local models.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
22/tcpPorts
Apache-2.0License

About Qwen Code

Qwen Code, from the Qwen team, is a terminal coding agent forked from Google's Gemini CLI and developed independently since v0.1. Run qwen in a project and it plans changes, edits files, runs commands and tests, and delegates to subagents.

Approval modes range from per-call confirmation to auto-edit and YOLO, plus a read-only plan mode, so on a CloudSat VPS it can work in tmux on a disposable clone. Headless qwen -p runs suit cron and CI.

It needs Node.js 22 or newer, and /auth handles sign-in on first start.

What you get with Qwen Code

  • Subagents for focused tasks in the foreground or background
  • MCP servers for extra tools, resources and prompts
  • Headless mode with qwen -p for scripts
  • Hooks, LSP integration and Git worktrees
  • Providers from Qwen and OpenAI to Ollama and vLLM

Qwen Code use cases

  • Let an agent work through a backlog on a server that stays online
  • Run scripted reviews or fixes from cron or CI
  • Pair it with local models served by Ollama or vLLM

After you deploy Qwen Code

  1. When Running appears, connect by SSH and create an unprivileged account for the agent.
  2. Clone your project, start a tmux session and launch qwen inside the repository.
  3. Run /auth and pick a Qwen account with a Plus or Pro subscription, or set up a provider with an API key.
  4. Begin in plan mode, and widen the approval mode only after its changes earn your trust.

Qwen Code ports

Open these in your firewall if you use one: 22/tcp SSH; the agent itself listens on nothing.

Qwen Code FAQ

Is Qwen Code free to use?

The CLI is free under Apache-2.0; models are not. Use a Qwen Plus or Pro subscription, another provider's API key, or a local model.

How does Qwen Code relate to Gemini CLI?

It started from Gemini CLI v0.8.2 and stopped syncing with upstream at Qwen Code v0.1, so the two projects now develop separately.

Disclaimer. The Qwen Code project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

Qwen Code on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back