> For the complete documentation index, see [llms.txt](https://doc.tabnet.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.tabnet.us/chang-jian-wen-ti/mac-os-kai-qi-ren-he-lai-yuan-an-zhuang-quan-xian-jiao-cheng.md).

# Mac OS 开启 「任何来源」 安装权限教程

{% hint style="success" %}
在 Mac OS 中，默认情况下仅允许从 **App Store** 或 **已认证开发者** 下载的应用安装。如果你需要安装来自第三方来源的应用（例如 Clash, 等），需要手动开启 **「任何来源」**。
{% endhint %}

### 1. 打开系统偏好设置

1. 点击屏幕左上角 **🍎 Apple 菜单**
2. 选择 **「系统偏好设置」**
3. 点击 **「安全性与隐私」**

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2FS456mWGyP6n77MJ4Spr2%2Fimage.png?alt=media&amp;token=e1b50d1d-5ee9-4a43-a08b-c5c0faa76771" alt="" width="375"><figcaption></figcaption></figure>

### 2. 进入通用设置

1. 在「安全性与隐私」页面，切换到 **「通用」** 选项卡
2. 如果界面下方显示 **「任何来源」**，直接勾选即可

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2Fk47ycQKG5wQLRbxGo0uk%2Fimage.png?alt=media&amp;token=01dce3a6-5008-4918-9679-00db445fc5b6" alt="" width="375"><figcaption></figcaption></figure>

### 3. 如果未显示「任何来源」

在新版 Mac OS 中，「任何来源」选项可能被隐藏，需要通过终端命令开启。

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2FfokwyIukRXBRNXffhRe2%2Fimage.png?alt=media&amp;token=97f88e0b-fab2-4fdc-9a93-3c0e4f33d7f5" alt="" width="375"><figcaption></figcaption></figure>

#### 操作步骤

1. 打开 **终端（Terminal）**
2. 输入以下命令并按回车：

   ```bash
   sudo spctl --master-disable
   ```

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2FrAKVQIxaa2NpFgvcH11t%2Fimage.png?alt=media&amp;token=ad2d32c2-0730-4a7a-a914-f7761b67537d" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2FiLOhxq4zP1VdrBEtHgr7%2Fimage.png?alt=media&amp;token=e729e1e3-9d83-4201-811c-7f665ece87b1" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="danger" %}
如果不开启，可能无法正常安装
{% endhint %}
