# Clash X

**准备工作**

* 系统为MAC OS的电脑
* 注册Teraport账户并购买Teraport服务
* 已安装ClashX\[[网站下载](https://install.appcenter.ms/users/clashx/apps/clashx-pro/distribution_groups/public)]
* 本教程所有步骤均使用MAC OS电脑操作

快速上手（图文）

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

<figure><img src="https://1373827655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo8oL9VIYCFIGi9J4IxsC%2Fuploads%2FZHgxYbMTAqnMSOvS4d1g%2Fimage.png?alt=media&#x26;token=1c887e07-cc75-487f-b46f-d02eadef76e8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1373827655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo8oL9VIYCFIGi9J4IxsC%2Fuploads%2FgtSTifGLObYFQFMqy9hj%2Fimage.png?alt=media&#x26;token=16449135-4572-491a-83b5-e232238cd582" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1373827655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo8oL9VIYCFIGi9J4IxsC%2Fuploads%2FqmWO5n6VvqOtoDdL3Lgw%2Fimage.png?alt=media&#x26;token=5ce51658-bf15-4515-bbdc-2179282ea8de" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1373827655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo8oL9VIYCFIGi9J4IxsC%2Fuploads%2FSkSnhPu6KFYYBXESc4bW%2Fimage.png?alt=media&#x26;token=481a7d91-4d3f-4816-8644-2e8524191780" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1373827655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo8oL9VIYCFIGi9J4IxsC%2Fuploads%2FtCwWWm3KaA9S2l0UD64J%2Fimage.png?alt=media&#x26;token=46a1a445-2258-47a0-b8ac-d6bfdb060074" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1373827655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo8oL9VIYCFIGi9J4IxsC%2Fuploads%2FfSSCbUr9vYdhmJe1xa3V%2Fimage.png?alt=media&#x26;token=71b24685-0f52-4350-9a1e-0a726c5c8d19" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1373827655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo8oL9VIYCFIGi9J4IxsC%2Fuploads%2FnzjWPE00C7AMBKDSDZf1%2Fimage.png?alt=media&#x26;token=1ce58da0-9cd7-4f82-8082-716ae0fc6aa3" alt=""><figcaption></figcaption></figure>

**代理模式切换**

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

<figure><img src="https://1373827655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo8oL9VIYCFIGi9J4IxsC%2Fuploads%2FwhnehOQLBI3WfiVlq6WD%2Fimage.png?alt=media&#x26;token=a236839b-8e94-4263-960d-5e469edbbe7e" alt=""><figcaption></figcaption></figure>

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