> For the complete documentation index, see [llms.txt](https://shadowrocket-wiki.gitbook.io/shadowrocket/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shadowrocket-wiki.gitbook.io/shadowrocket/windows/clash.md).

# Clash for Windows 教程

## Clash for Windows 使用教程

本教程介绍 Clash for Windows Windows 客户端下载安装、订阅配置、节点使用以及常见问题解决方法。

***

## Clash for Windows下载

[点击下载客户端](https://github.com/clash-verge-rev/clash-verge-rev/releases/latest)

### 什么是 Clash for Windows？

Clash for Windows 是基于 Clash 核心的 Windows 图形化客户端。

支持：

* Windows 系统
* 规则分流
* 订阅配置
* 节点管理
* 代理模式切换
* 网络测速

主要功能：

* 导入订阅链接
* 自动更新配置
* 节点延迟测试
* 系统代理
* TUN 模式
* 自定义规则

***

## 下载 Clash for Windows

### 安装客户端

下载 Windows 版本安装包。

安装步骤：

1. 打开安装程序
2. 选择安装目录
3. 完成安装

建议：

* 不要安装到包含中文的目录
* 保持默认权限运行

***

## Clash for Windows 使用教程

### 打开 Clash

首次启动：

等待 Clash 加载完成。

进入主界面：

主要功能包括：

| 功能       | 作用   |
| -------- | ---- |
| General  | 基础设置 |
| Proxies  | 节点管理 |
| Profiles | 配置管理 |
| Logs     | 日志查看 |
| Settings | 高级设置 |

***

## 添加订阅配置

### 方法一：URL 导入

进入：

```
Profiles
```

点击：

```
Download
```

输入订阅地址：

```
你的订阅链接
```

点击：

```
Download
```

等待配置文件下载。

***

### 方法二：手动导入配置

如果已经有配置文件：

点击：

```
Profiles
↓
Import
```

选择：

```
.yaml 配置文件
```

即可加载。

***

## 启用配置文件

进入：

```
Profiles
```

选择刚刚添加的配置。

点击：

```
Activate
```

激活配置。

***

## 开启代理

进入：

```
General
```

开启：

```
System Proxy
```

开启后：

Windows 系统流量会通过 Clash 代理。

***

## 选择代理节点

进入：

```
Proxies
```

选择节点组。

可以根据：

* 延迟
* 地区
* 网络速度

选择合适节点。

***

## 节点测速

进入：

```
Proxies
```

点击：

```
测速按钮
```

查看节点延迟。

参考：

| 延迟        | 状态 |
| --------- | -- |
| <100ms    | 优秀 |
| 100-200ms | 良好 |
| 200-500ms | 一般 |
| >500ms    | 较慢 |

***

## Clash 模式设置

Clash 常用模式：

***

### Rule 规则模式（推荐）

```
Rule
```

根据规则自动分流：

* 国内网站直连
* 海外网站代理

适合日常使用。

***

### Global 全局模式

```
Global
```

所有流量经过代理。

适合测试。

***

### Direct 直连模式

```
Direct
```

关闭代理。

***

## TUN 模式设置

如果开启系统代理后部分软件无法使用：

可以尝试开启：

```
TUN Mode
```

进入：

```
General
```

开启：

```
TUN Mode
```

可以接管更多应用流量。

***

## Clash for Windows 常见问题

### 订阅无法更新

可能原因：

* 订阅地址错误
* 网络无法访问
* 配置链接失效

解决：

1. 检查订阅地址
2. 浏览器打开测试
3. 重新添加订阅

***

### Clash 已启动但是无法访问

检查：

#### 1. 系统代理

确认：

```
System Proxy
```

已开启。

#### 2. 配置文件

确认：

```
Profiles
```

已经激活。

#### 3. 节点状态

尝试：

* 更换节点
* 更新订阅

***

### 浏览器无法打开网页

检查：

* 浏览器代理设置
* Clash 系统代理
* DNS 设置

***

### 插件导致无法使用

如果浏览器安装大量插件：

建议：

1. 暂时关闭插件
2. 重启浏览器
3. 再测试连接

***

### 时间错误导致连接失败

检查 Windows 时间：

进入：

```
设置
↓
时间和语言
```

开启：

```
自动设置时间
```

确保系统时间准确。

***

## 推荐设置

### 开机启动

进入：

```
General
```

开启：

```
Start with Windows
```

方便自动运行。

***

### 自动更新配置

建议开启：

```
Auto Update
```

保持节点最新。

***

## 图文教程

<figure><img src="/files/JjZgJ8iqvya3fWN2bX8x" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Brtxw8R4g1s6JM4UNaJL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MM4frjVDsJNE0swYYGQE" alt=""><figcaption></figcaption></figure>

***

## 总结

Clash for Windows 是 Windows 平台常用代理客户端。

通过：

* 添加订阅
* 加载配置
* 选择节点
* 开启系统代理

即可完成基础配置。

建议：

* 定期更新订阅
* 使用稳定节点
* 保持客户端更新


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://shadowrocket-wiki.gitbook.io/shadowrocket/windows/clash.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
