# Qwen Code in English: Setup and a Small First Task

> Set up Qwen Code, distinguish interface language from response language, and plan a small first task without relying on outdated free-login instructions.

Canonical article: https://modelrovia.com/guides/qwen-code-getting-started/
Author: Modelrovia Editorial
Published: 2026-10-31
Updated: 2026-11-01

## Key takeaway

Install Qwen Code, connect a provider for your account region, and set both interface and output language before trying one small project task.

Qwen Code is worth approaching with a small, inspectable task: ask it to explain a project before asking it to change one. That gives you a clearer way to judge whether its suggestions fit your code.

**Verification note:** Based on official documentation checked October 31, 2026. Signed-in setup and task execution have not yet been tested.

## What Qwen Code does

Qwen Code is a terminal-based coding assistant. The CLI is the tool you operate; the connected provider supplies the model. Installing the CLI does not by itself provide model access.

## Install the CLI

The official quickstart documents an npm installation requiring Node.js 22 or later:

```sh
npm install -g @qwen-code/qwen-code@latest
```

Check your prerequisites with `node --version` and `npm --version`. If Node.js is older than 22, update it before installing. Restart the terminal if it cannot find `qwen` after installation.

Open a small existing practice project, or create a folder and place a short `README.md` in it. For example, describe a fictional pottery-class booking page and list three intended features. Then start Qwen Code from that folder:

```sh
qwen
```

Use a small practice project rather than a repository containing credentials or unpublished client work. Keep a baseline copy so you can inspect proposed changes.

## Choose authentication for your account

The [English quickstart](https://qwenlm.github.io/qwen-code-docs/en/users/quickstart/) and [Chinese authentication page](https://qwenlm.github.io/qwen-code-docs/zh/users/configuration/auth/) differ in their descriptions of the current menu. Both describe provider-based setup, and both say the former Qwen OAuth offering was discontinued on April 15, 2026.

Do not follow an old screenshot promising the previous free-login route. Start with `/auth`, read the options in your installed version, and follow the documentation for the provider and region you actually use. Where China and International are offered, select the one matching your account. An English interface does not select an international endpoint for you.

Before proceeding, confirm that your chosen provider accepts your account region and that its plan covers this use. This guide does not verify country-specific payment methods or free quotas. Run `/doctor` to inspect the current configuration if authentication fails.

## Set both kinds of language

Qwen Code distinguishes menu language from the language requested for generated replies. Its [language documentation](https://qwenlm.github.io/qwen-code-docs/en/users/features/language/) provides these commands inside the CLI:

```text
/language ui en-US
/language output English
```

Restart Qwen Code after changing the output language, as the documentation instructs. Changing the menus alone is not the same as requesting English explanations.

## Try an explanation before an edit

Use this original practice prompt:

```text
Explain the files in this folder in English. Identify the entry point
and how to run the existing checks. Do not edit files or install packages.
If something is unclear, say what information is missing.
If this folder only contains a README, say that no application exists yet.
```

Compare the explanation with the files yourself. Then ask for one bounded change, such as clarifying a README instruction. Require a proposed approach first, inspect the diff, and run the project's own checks.

## Check the result

The explanation should match actual files, name missing information, and leave the project unchanged. For a README-only folder, it should not invent an entry point or claim that tests passed.

If you request an edit next, make the goal explicit: “Add a three-item checklist to the README without changing any other file.” Compare the result with your baseline. Record corrections you needed before trying a larger task.

If you meant to run a Qwen model without this coding assistant, see [Qwen on a Mac with Ollama](/guides/run-qwen-on-mac/).

## Use one explicit provider configuration for the trial

For a concrete international example, first make a direct [DeepSeek API request](/guides/deepseek-api-python-quickstart/) work with your own account. Then follow Qwen Code's [provider configuration](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/model-providers/) to select that provider or its supported OpenAI-compatible route. Use the same verified key, the documented `https://api.deepseek.com` base, and the available `deepseek-flash` model ID. This selects a hosted DeepSeek backend, not a local Qwen model.

Use your installed client's `/auth` and provider controls for the exact configuration fields, then inspect `/doctor`. Save the CLI version, provider, model ID and redacted diagnostics; do not publish the key or environment dump. If the current menu lacks a matching provider/custom route, stop and use that release's provider guide instead of guessing configuration-file keys. This is a documented example path, not a signed-in session tested by Modelrovia.

## Sources & references

- [Qwen Code quickstart — Chinese](https://qwenlm.github.io/qwen-code-docs/zh/users/quickstart/)
- [Qwen Code quickstart — English](https://qwenlm.github.io/qwen-code-docs/en/users/quickstart/)
- [Qwen Code language settings — English](https://qwenlm.github.io/qwen-code-docs/en/users/features/language/)
- [Qwen Code authentication — Chinese](https://qwenlm.github.io/qwen-code-docs/zh/users/configuration/auth/)

[Editorial standards](https://modelrovia.com/methodology/)
