# 在 MacOS 上配置并使用 Clash

## 一、应用概述

{% hint style="success" %}
Clash 是一款用 Go 开发的代理工具，支持规则分流（类似于 Surge 的配置）。\
本教程将基于 Yicheng 的 ClashX Pro 进行安装配置。
{% endhint %}

{% hint style="warning" %}
Clash 的功能非常强大，自定义配置也非常的多，请务必按照教程配置。除非您知道该怎么做，否则不要尝试乱改设置。
{% endhint %}

{% hint style="danger" %}
注意：项目中已包含非常详细的教程。
{% endhint %}

## 二、应用下载

{% hint style="info" %}
如您已有 Clash，请确保版本为 1.30.1 或更高！
{% endhint %}

[下载地址 1](https://downloadmacos.moct.cloud/ClashX-Pro.dmg)\
[AppCenter 下载地址2](https://install.appcenter.ms/users/clashx/apps/clashx-pro/distribution_groups/public)\
[网盘下载01](https://share.feijipan.com/s/klEUaRrS)

[网盘下载02](https://tagcloud.lanzouw.com/b0mb4vn5c)

[国外网盘下载](https://mega.nz/folder/rQFnSATZ#b9A57MKxi3cZQF35caH8Lg)

[下载地址02](https://vault.digitalage.services/index.php/s/e53QaDtHdbqtGsi)

{% hint style="warning" %}
由于下载地址服务器位于韩国，部分网络可能下载较慢，如有必要请连接代理后下载
{% endhint %}

## 三、应用安装

{% tabs %}
{% tab title="第一步" %}
打开下载 ClashX.dmg 安装包
{% endtab %}

{% tab title="第二步" %}
拖动 ClashX 应用到 Applications

![](https://storage.crisp.chat/users/helpdesk/website/1a42ee184d3da400/2021-04-19-104336_flox1o.png)
{% endtab %}

{% tab title="第三步" %}
如出现「无法打开」等报错，否则忽略此步骤。

![](https://storage.crisp.chat/users/helpdesk/website/1a42ee184d3da400/2020-12-01-114010tqk6db_zs3qhh.png)
{% endtab %}

{% tab title="第四步" %}
请查看 [解决 macOS 软件提示损坏/无法验证开发者等问题](https://docs.eleven.observer/chang-jian-wen-ti/jie-jue-macos-ruan-jian-ti-shi-sun-huai-wu-fa-yan-zheng-kai-fa-zhe-deng-wen-ti)\
确定「打开」

![](https://storage.crisp.chat/users/helpdesk/website/1a42ee184d3da400/2021-04-19-105814_4okp1w.png)
{% endtab %}

{% tab title="第五步" %}
配置ClashX 权限

![](https://storage.crisp.chat/users/helpdesk/website/1a42ee184d3da400/2021-04-19-105823_iobaw1.png)

![](https://storage.crisp.chat/users/helpdesk/website/1a42ee184d3da400/2021-04-19-105834_1obfsdu.png)
{% endtab %}

{% tab title="第六步" %}
ClashX Pro 客户端安装完成
{% endtab %}
{% endtabs %}

## 四、配置和使用

{% hint style="warning" %}
请务必确保关闭并后台退出了其他代理软件（shadowsocksX、VPN、V2rayN 等）和360等安全软件，所有代理软件都是不能同时使用的且和众多安全软件冲突。
{% endhint %}

{% tabs %}
{% tab title="第一步" %}
订阅设置里复制Clash订阅地址

![](/files/-M_ct5TUUO5f58CkJEOI)
{% endtab %}

{% tab title="第二步" %}
任务栏点击小猫图标，依次点击：配置->托管配置->管理

![](/files/-M_ctTBkKc_YACRJM0-Z)
{% endtab %}

{% tab title="第三步" %}
点击添加，粘贴第一步复制的订阅地址然后点确定

![](/files/-M_cuudWZPjAtb0YaXn6)
{% endtab %}

{% tab title="第四步" %}
点击 ClashX 图标 >「出站模式」选择全局 > 点击 「GLOBAL」 根据您的需求选择使用节点。 勾选 设置为系统代理  <br>

![](/files/igMlDyci7Jwy4s5MwwMB)
{% endtab %}

{% tab title="第五步" %}
至此，基本配置已完成，开始体验吧。
{% endtab %}
{% endtabs %}

## 五、其他问题

### 1. 关于延迟测速

请注意，不要点击 ClashX 软件的任何延迟测速。因为延迟测速会对每个节点进行连接并测试http 延迟。 \
这并不能代表节点实际带宽速率，同时反而会造成在线数异常，超过套餐可用最大在线数。  \
超过最大在线数后会被阻断与节点 10 分钟左右&#x20;

### 2. 关于代理模式

除非您知道这是做什么的，否则「出站模式 / Proxy Mode」请务必保持默认的「全局连接」 &#x20;

### 3. Chrome 浏览器无法代理

> [请查看 Chrome 浏览器无法代理](https://2022.docs-ayucloud.com/zh/article/chrome-1k2qei5/)


---

# 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://nerwo-1.gitbook.io/nerwo-docs/tutorial/macos/zai-macos-shang-pei-zhi-bing-shi-yong-clash-1.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.
