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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store