> For the complete documentation index, see [llms.txt](https://nerwo-1.gitbook.io/nerwo-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nerwo-1.gitbook.io/nerwo-docs/chang-jian-wen-ti-1/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="/files/ASFaQb4QPHF036pXmunG" alt="" width="375"><figcaption></figcaption></figure>

### 2. 进入通用设置

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

<figure><img src="/files/GMwdzzRXEJoJAaTxwYyL" alt="" width="375"><figcaption></figcaption></figure>

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

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

<figure><img src="/files/7dKyBVMwAQFtVD7MWt7D" alt="" width="375"><figcaption></figcaption></figure>

#### 操作步骤

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

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

<figure><img src="/files/6hDcXyGEuRaJrx8eVxcV" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/WiZ5ZrhVSXCvlzjqzJVZ" alt="" width="375"><figcaption></figcaption></figure>

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