In the following words, we will show you step with screenshots to disable/enable Gatekeeper to be allowed to install application downloaded from unidentified developer on MacOS 10.14 Mojave. However, all processes must work the same on High Sierra, Sierra, Maverick, El Capitan and Yosemite.
What is Gatekeeper?
Gatekeeper is disabled by default to prevent being risked by installing softwares from the third-party softwares. Therefore, it’s common to see an error like “App can’t be opened because it is from an unidentified developer” when we start launching an new downloaded app.
To open app downloaded from unidentified developers, Anywhere option need to be checked under System Preferences --> Security & Privacy.
However, Anywhere option is hidden if the GateKeeper is not disabled.
Steps to Disable/enable Gatekeeper from MacOS
- Open Terminal (Found under Applications/Utilities/)
- Enter the following command line to disable Gatekeeper
sudo spctl --master-disable
You will be asked for administrator password (the login password)
- To enable it, Enter the following one
sudo spctl –master-enable