# 如何升级

{% hint style="info" %}
升级脚本后，最好重启一次代理（VPN）
{% endhint %}

### Surge

#### 一键安装

如果你使用的是 **v5 5.21.0 (3063)** 及以上的版本，你可以直接: [一键升级](https://api.boxjs.app/surge-update)

#### 手动升级

```bash
首页 > Surge 图标 (左上角) > 外部资源 > 全部更新
```

### Quantumult X

#### 一键升级

如果你使用的是 **v1.0.29 (670)** 及以上的版本，你可以直接: [一键升级](https://api.boxjs.app/quanx-update)

#### 手动升级

```bash
长按风车 > 刷新 (左下角) > 重启代理 (VPN)

# 如果，你是 QuanX 的新用户（购买一周内）
点击风车 > 重写 > 引用 > 点击重写 > 更新 > 重启代理 (VPN)
```

### Loon

#### 一键升级

如果你使用的是 **v2.1.19 (386)** 及以上的版本，你可以直接: [一键升级](https://api.boxjs.app/loon-update)

#### 手动升级

```bash
配置 > 插件 > 刷新 (右上角) > 重启代理 (VPN)
```

### Shadowrocket

如果你使用的是 **v2.2.8 (1658)** 及以上的版本，你可以直接: [一键升级](http://api.boxjs.app/shadowrocket-update)

```bash
# 使用模块安装的用户
配置 > 模块 > 更新模块（或者找到Boxjs模块右划，点击更新）

# 使用重写安装的用户
配置 > 点击Boxjs所在的配置文件 > 点击“使用配置”或“更新配置”均可更新配置文件引用的外部资源
```

### Stash

```
策略组 > 云 (左上角) > 全部更新
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.boxjs.app/base/upgrade.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
