# Clash for MacOS

* 系统要求：macOS 10.5 及以上
* 软件版本：Clash Pro for macOS
* 设备要求：MacBook / iMac / Mac Pro
* 安装前请关闭其它代理软件，不可同时运行

{% hint style="info" %}
从 [**用户中心**](https://www.nolock.io/download) 下载安装的最新版本 ClashX Pro
{% endhint %}

{% hint style="warning" %}
首次使用 ClashX Pro 时，MacOS 会提醒你此应用来自未知开发者，请允许打开此应用。 ClashX Pro 首次运行会提示是否安装帮助程序（Helper）。此帮助程序用于设置系统代理，否则每次你通过 ClashX Pro 变更系统系统状态（打开或关闭）时都需要输入密码，请点击「Install」，之后 MacOS 会提示输入用户密码。

参考资料：<https://support.apple.com/zh-cn/guide/mac-help/mh40616/mac>
{% endhint %}

### 一、客户端安装

1. 打开下载的客户端 dmg 格式文件，将 ClashX Pro 拖动到右边文件夹即可完成安装，如下图所示：

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

2. 安装完成后，我们在应用程序里面找到ClashX，然后打开它，首次打开应用程序时，如下图所示：

{% hint style="info" %}
如果系统提示不安全，无法打开，我们需要打开一个开启所有来源的开关，具体请看  "[开启所有来源教程](https://jingyan.baidu.com/article/0320e2c12083275a87507bab.html)"
{% endhint %}

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

2. 第一次使用，需要安装一个帮助程序，我们点击 "安装" 即可

<figure><img src="/files/8SEVqeL3WFf7dSDqbKXF" alt=""><figcaption></figcaption></figure>

3. 输入您系统的密码后，点击 "安装帮助程序"

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

### 二、配置订阅

1. 确认 ClashX Pro 正常运行后，我们就可以开始配置订阅。登录 [用户中心](https://www.nolock.io/login) ，找到您所购买的套餐并打开，点击「复制订阅链接」按钮

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

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

2. 复制好订阅链接后，我们在桌面右上角任务栏中找到一个猫咪图标(Clashx Pro)，右键打开菜单，如下图所示：

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

3. 添加订阅链接

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

4. 订阅添加后会自动更新，更新后，我们关闭窗口即可

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

5. 打开 ClashX Pro菜单中的 "设置为系统代理"，ClashX Pro便开始接管系统流量。 ClashX 的默认出站模式为 "规则"，不推荐选择 "全局" 与 "直连"。

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

### **三、更新订阅**&#x20;

这是很重要的一步，我们会根据线路情况不时维护、更换节点，如果没有做好更新，你可能会发现很多节点无法连接

确保按下图所示勾选自动更新，这样会在每次启动 ClashX 时自动更新节点，如果需要立刻更新一下，可以点击那个「更新」按钮。

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

### 四、全局设置

由于Clash默认模式是分流模式（分流模式意思就是大陆网页或者APP使用本地网络，国外网络或者APP走代理服务器网络）&#x20;

分流模式可能会导致个别应用或者网页无法代理，所以需要设置为全局模式。&#x20;

全局模式的意思就是，所有流量走代理服务器的流量，这样可以保持高匿名性，由于是所有流量走代理服务器，所以访问大陆的网站或者应用会比较缓慢！&#x20;

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


---

# 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.nolock.io/mac/clashpro.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.
