spctl
SafeGatekeeper status
spctl --status
Shows Gatekeeper state; --assess tests whether an app would be allowed to run.
Examples
spctl --assess -v /Applications/Tool.appAssess an app's verdict
Syntax
spctl [--status] [--assess -v app]
Before you run it
Assessment only; don't disable protection.
Used when you see
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store