less than 1 minute read

Add Gatekeeper Exception:

spctl --add /path/to/Application.app

Remove Gatekeeper Exception:

spctl --remove /path/to/Application.app

Manage Gatekeeper:

# Status
spctl --status

# Enable (Default)
sudo spctl --master-enable

# Disable
sudo spctl --master-disable

Via herrbischoff/awesome-macos-command-line.

Leave a comment