Gatekeeper is the feature at work when OS X tells you that a particular application can’t be opened because it is from an
For those tech-savvy that know what they are doing this can be extremely annoying! So let's disable Gatekeeper!
The Gatekeeper settings can be found in
System Preferences >
Security & Privacy >
The Gatekeeper options are located beneath
All apps downloaded from:, but the choice of
Anywhere missing from Sierra onwards.
Anywhere setting can be restored to Gatekeeper in Sierra. First, quit
System Preferences and open a
Enter the following command:
sudo spctl --master-disable
System Preferences and head back to the Gatekeeper settings. Now
Anywhere has been restored.
It turns out that Apple quietly made a key change to the way that Gatekeeper works in
El Capitan, and the feature will now re-enable itself (a.k.a. “auto rearm”) after 30 days.
Turn Auto Enable Off:
sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO
Turn Auto Enable On:
sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool YES