Forrest logo
back to the spctl tool

spctl:tldr:99256

spctl: Turn off Gatekeeper.
$ spctl --master-disable
try on your machine

The command "spctl --master-disable" is used to disable the macOS Gatekeeper feature that restricts the installation of apps from unidentified developers or sources.

Gatekeeper is a security feature in macOS that allows users to control which apps can be installed on their system. By default, Gatekeeper only allows apps from the Mac App Store or those digitally signed by identified developers to be installed. This is done to minimize the risk of installing malicious software.

However, some users might want to install apps from unidentified developers or sources. In that case, the "spctl --master-disable" command can be used to disable Gatekeeper and allow the installation of all apps.

It is important to note that disabling Gatekeeper can open up the system to potential security risks, as it removes the protection against malicious software. Therefore, it is recommended to only disable Gatekeeper temporarily when installing trusted apps and then re-enable it for normal system security.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the spctl tool