#TIL 11 - Mac OSX - Open file from anywhere

Apr 29, 2021 · Dung Huynh

What

Disable Gatekeeper to run apps from unidentified developers.

Why

Some apps aren't signed or can't be verified by Apple. Gatekeeper blocks them by default.

How

# Disable Gatekeeper
sudo spctl --master-disable

# Remove app quarantine attributes
xattr -cr /Applications/YourApp.app

# Re-enable when done
sudo spctl --master-enable