Quickly Approve Apps For Your Mac’s Gatekeeper From The Command Line

Quickly Approve Apps For Your Mac’s Gatekeeper From The Command Line

Newer versions of OS X have a Gatekeeper feature that prevents apps from unidentified developers from installing without your OK. Typically, to approve apps you want to install, you have to go into System Preferences, but OS X Daily shows off a slightly quicker route through the Command Line.

To approve an app for Gatekeeper, you just need to open up Terminal (Applications > Terminal) and type in this command, substituting in the path and application name for your info:

spctl --add /Path/To/Application.app

To reverse that, just swap out --add and put in --remove. The process is a bit quicker than hopping into System Preferences once you get used to it.

How to Add Gatekeeper Exceptions from Command Line in Mac OS X [OS X Daily]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


2 responses to “Quickly Approve Apps For Your Mac’s Gatekeeper From The Command Line”