Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions docs/users/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,24 @@

## Get started in 30 seconds

Prerequisites:

- A [Qwen Code](https://chat.qwen.ai/auth?mode=register) account
- Requires [Node.js 20+](https://nodejs.org/zh-cn/download), you can use `node -v` to check the version. If it's not installed, use the following command to install it.

### Install Qwen Code:

**NPM**(recommended)
**Linux / macOS**

```bash
npm install -g @qwen-code/qwen-code@latest
```sh
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.sh | bash
```

**Homebrew**(macOS, Linux)
**Windows (Run as Administrator CMD)**

```bash
brew install qwen-code
```sh
curl -fsSL -o %TEMP%\install-qwen.bat https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.bat && %TEMP%\install-qwen.bat
```

> [!note]
>
> It's recommended to restart your terminal after installation to ensure environment variables take effect. If the installation fails, please refer to [Manual Installation](./quickstart#manual-installation) in the Quickstart guide.

### Start using Qwen Code:

```bash
Expand Down
30 changes: 25 additions & 5 deletions docs/users/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,39 @@ Make sure you have:

To install Qwen Code, use one of the following methods:

### NPM (recommended)
### Quick Install (Recommended)

Requires [Node.js 20+](https://nodejs.org/download), you can use `node -v` check the version. If it's not installed, use the following command to install it.
**Linux / macOS**

If you have [Node.js or newer installed](https://nodejs.org/en/download/):
```sh
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.sh | bash
```

**Windows (Run as Administrator CMD)**

```sh
curl -fsSL -o %TEMP%\install-qwen.bat https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.bat && %TEMP%\install-qwen.bat
```

> [!note]
>
> It's recommended to restart your terminal after installation to ensure environment variables take effect.

### Manual Installation

**Prerequisites**

Make sure you have Node.js 20 or later installed. Download it from [nodejs.org](https://nodejs.org/en/download).

**NPM**

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

### Homebrew (macOS, Linux)
**Homebrew (macOS, Linux)**

```sh
```bash
brew install qwen-code
```

Expand Down