Fill these in once
- Check why it's blocked
spctl --assess -vv "/Applications/Example.app"Rejected means Gatekeeper is stopping it.
- Let this one app through
xattr -dr com.apple.quarantine "/Applications/Example.app"Only do this for apps from a source you trust.
Check it worked
- Open the app
open -a "Example"
Undo it
- Block it again
xattr -w com.apple.quarantine "0081;00000000;Manual;" "/Applications/Example.app"
This message is a macOS one. Linux doesn't block apps this way.
This message is a macOS one. On Windows, the similar SmartScreen warning has a More info link and then Run anyway.