> For the complete documentation index, see [llms.txt](https://creamdata.gitbook.io/creamdata-shi-yong-jiao-cheng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://creamdata.gitbook.io/creamdata-shi-yong-jiao-cheng/creamdata-shi-yong-dao-hang/clashx-for-mac-pei-zhi-jiao-cheng.md).

# ClashX for Mac配置教程

**准备工作**

* 系统为MAC OS的电脑
* 注册[CreamData](https://www.creamdata.net/)并购买CreamData服务
* 已安装ClashX\[[网站下载](https://www.creamdata.net/soft/ClashX.dmg)]
* 本教程所有步骤均使用MAC OS电脑操作

快速上手（图文）

1.登录CreamData网站点击左侧导航栏，找到如下界面。

<figure><img src="https://3459002580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrz3b3Wuebc7Pbs3Oyx4%2Fuploads%2FIh9JmF4THsqopIcpTFve%2Fimage.png?alt=media&amp;token=97f515e5-1a7a-4160-88fd-702f81dada34" alt=""><figcaption></figcaption></figure>

2.点击“查看详情”，进入服务详细界面，点击“MacOS客户端”–>“复制订阅”（三个订阅任选其一，并无区别）。

<figure><img src="https://3459002580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrz3b3Wuebc7Pbs3Oyx4%2Fuploads%2F5FF6gLkvh3MJcA7fcswj%2Fimage.png?alt=media&amp;token=3eb3eb56-d4c0-4055-82f0-2a9819b4b4e5" alt=""><figcaption></figcaption></figure>

2.打开Clash X添加配置托管文件，点击菜单栏中的 ClashX 图标打开菜单，进入 配置 > 托管配置 > 管理。

<figure><img src="https://3459002580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrz3b3Wuebc7Pbs3Oyx4%2Fuploads%2FPFr8bulX1ksngBGWtZFs%2Fimage.png?alt=media&amp;token=48337226-68b4-4aac-b3c1-c170df2d0139" alt=""><figcaption></figcaption></figure>

3.在托管的配置文件窗口，点击 “添加” 在 Url 一栏中输入 Clash 配置订阅链接，Config Name 为配置文件名，可以随意命名。

<figure><img src="https://3459002580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrz3b3Wuebc7Pbs3Oyx4%2Fuploads%2FV3Gne2WgcAvuuCXzG02N%2Fimage.png?alt=media&amp;token=bb606962-6d39-4a42-841e-9efc4791a2a9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3459002580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrz3b3Wuebc7Pbs3Oyx4%2Fuploads%2F9HJxgVmwV7vr6QDlJb7p%2Fimage.png?alt=media&amp;token=0e50a3cd-6e0c-432c-8556-471601784ae6" alt=""><figcaption></figcaption></figure>

4.点击右上方系统托盘的ClashX图标，选择节点。direct不要选

<figure><img src="https://3459002580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrz3b3Wuebc7Pbs3Oyx4%2Fuploads%2F1xb1bfvmf3uMjuZZNnvF%2Fimage.png?alt=media&amp;token=8897a8b6-9e2e-4bfa-bc22-2e8431346628" alt=""><figcaption></figcaption></figure>

5.设置为系统代理，完成配置

<figure><img src="https://3459002580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrz3b3Wuebc7Pbs3Oyx4%2Fuploads%2FAH88vBBWauQKyUUCnSCz%2Fimage.png?alt=media&amp;token=badbb598-01d2-4ccb-8cf4-3bd0decf3e88" alt=""><figcaption></figcaption></figure>

**代理模式切换**

点击右上方系统托盘的ClashX图标,**出站模式**根据自己的需求切换

<figure><img src="https://3459002580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrz3b3Wuebc7Pbs3Oyx4%2Fuploads%2FtHtBOU28zbFSRuPGrBsp%2Fimage.png?alt=media&amp;token=7cbf9313-9ec3-4874-af73-209aceeb5543" alt=""><figcaption></figcaption></figure>

* 全局（Global）：所有请求直接发往**代理服务器**
* 规则（Rule）：所有请求**根据配置文件规则进行分流**
* 直连（Direct）：所有请求**直接发往目的地**
