#macos
Enable/Disable Gatekeeper on macOS
# Disable Gatekeeper
sudo spctl --master-disable
# Enable Gatekeeper
sudo spctl --master-enable
# Check status
spctl --status
Casey
Full-Stack Developer
# Disable Gatekeeper
sudo spctl --master-disable
# Enable Gatekeeper
sudo spctl --master-enable
# Check status
spctl --status