# MAC允许未知来源的应用

很多的翻墙软件基本都属于未知来源, 因此 MAC电脑设置 允许未知来源的应用 比较方便翻墙。

终端里输入

`sudo spctl --master-disable`

然后确认enter，密码是系统登录密码。

然后你就发现系统偏好设置⇨安全性和隐私⇨通用⇨出现了任何来源了，勾选即可。

![MAC允许未知来源的应用](https://raw.githubusercontent.com/bannedbook/fanqiang/master/v2ss/images/mac-allow-unkown-app.webp)

查看状态

`sudo spctl --status`

关闭

`sudo spctl --master-disable`

打开

`sudo spctl --master-enable`


---

# 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://fanqiang.gitbook.io/fanqiang/mac-yun-xu-wei-zhi-lai-yuan-de-ying-yong.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.
