Allow Apps Downloaded From Anywhere Mac Terminal



But there is a third, hidden option: 'Allow apps from anywhere'. This used to be an option in earlier versions of macOS, but disappeared when macOS Sierra arrived. However you can get the Anywhere.

Allow apps downloaded from anywhere

Starting with OS X Mountain Lion, Apple introduced Gatekeeper so users couldn’t easily install downloaded apps from outside the Mac App Store.

  • However, if you like downloading and running apps that are not from the usual source, you may want to turn this off. This post will show you how. Allow Alternate Applications To Run. To allow any application, downloaded from any source to run you need to change a system preference setting. Open up system preferences in your applications folder.
  • Advanced Mac users may wish to allow a third option, which is the ability to open and allow apps downloaded from anywhere in macOS Sierra. To be clear, the “Allow applications downloaded from anywhere” option is hidden by default in Gatekeeper for macOS Sierra.

When someone downloads an app from somewhere other than the Mac App Store they will get one of a few warning messages depending on what security settings they’ve set in System Preferences. We’ll show users how to set the security settings in Security & Privacy section of the OS X System Preferences using any version of OS X after Mountain Lion so they can install downloaded apps from outside the Mac App Store.

Why Can’t I Install 3rd-Party Apps By Default?

If you don’t care about why this works, skip to the next section. Here’s why Apple sets OS X to disallow 3rd-party apps by default, for those who like to understand why things work as they do.

Cynics will say that Apple does this because they don’t get a 30% cut from applications bought directly from third-party apps instead of their curated app store. A $10 app nets Apple $3 and the developer gets only $7. The developer gets the entire $10 if the app is sold directly.

Apple says they set things blocking third-party apps because they want to protect users who might install downloaded apps with malware or viruses. They take the 30% cut to cover the cost of hosting the Mac App Store and testing apps to keep malware out of the store. In other words, they want to help protect us from our own mistakes.

Apple offers three setting options in the Security & Privacy Settings in System Preferences. Apple set the default to help protect users from Malware or to lock down computers depending on which explanation you prefer.

Apple created Gatekeeper, a program to protect users from Malware. Developers can get a security certificate from Apple through the Apple Developer program. If a developer distributes their app on the Mac App Store, they have to follow certain guidelines to get approved. These guidelines try to keep malware out of the store. Developers can also add a security certificate to their apps. The certificate is some code inserted into the app code. Users can set their machines to allow third-party apps downloaded from the Internet, but only if they include one of these security certificates.

Find out how to change the settings below so you can install downloaded apps from trusted third-party websites. Don’t install apps from just any site because relaxing security settings could potentially open the door to malware and viruses.

How to Install Apps from Outside the Mac App Store

To install third-party apps, the user must change a setting in the Security & Privacy section of System Preferences, the Settings app in OS X.

Open OS X System Preferences by clicking on the app icon from OS X Dock or by clicking the Apple icon in the Menu Bar in the upper left corner of the screen. When the menu pops up, click on System Preferences.

Click on Security & Privacy from the top row of the System Preferences app. Choose the General tab to see the settings below.

There’s a lock icon at the bottom of the dialog box. Click it to enable all the settings in the box. The OS will ask the user to enter their administrator’s password. Click OK and the grayed out settings become clickable.

The settings we need to work with show up at the bottom half of the dialog box. There are three options under Allow apps downloaded from:. Here are the descriptions taken from Apple’s support site.

  • Mac App Store – Only apps that came from the Mac App Store can open.
  • Mac App Store and identified developers (default in OS X) – Only allow apps that came from the Mac App Store and developers using Gatekeeper can open.
  • Anywhere – Allow applications to run regardless of their source on the Internet (default in OS X Lion v10.7.5); Gatekeeper is effectively turned off. Note: Developer ID-signed apps that have been inappropriately altered will not open, even with this option selected.

If the user chooses the first two options, they can close the dialog box and continue. However, if the user chooses Anywhere, the above warning pops up to scare the user from using this setting. It says:

Choosing “Anywhere” makes your Mac less secure.

The warning box explains that OS X resets this setting after 30 days. Users will have to come back here and do the above steps again. Further, it explains that it’s safer to let the OS warn you each time you launch an app, which includes an option to allow it by clicking an OK button if you select the middle option of the three.

Which Option Should You Choose?

AppsMac

Those who only install apps from the Mac App Store should not bother changing the default settings. Make sure to select the first option labelled Mac App Store and close the box. If you want to install and run any app you want and don’t worry at all about malware, then choose the third option labelled Anywhere. I use the second option since I can still install third-party apps, but they have to come from developers who take the time to add an Apple Developer security certificate to their app. These are safe, but can come from outside the Mac App Store.

Related Posts

  • While most people can access their email via the web these days, having a dedicated…

  • We've put together a list of some of the best Mac apps anywhere: if you're looking…

  • Any time a user installs a new application on a Mac, it becomes the default…

Encountering error message stating application can't be opened because it is from an unidentified developer, how to fix?

Apple products, such as Mac computers and mobile devices (iPhones, iPads, etc.), are generally known to be secure and stable devices. This is one of the main advantages of these products as compared to other operating systems or manufacturers. This high level of protection might also impose some restrictions. An example is attempting to install or launch an application on a Mac computer that was developed by unidentified developer.

Due to a built-in security tool that checks the identity of application developers, installation or launch of this type of software becomes impossible - an error message appears stating that the application cannot be opened because it is from an unidentified developer. This situation is caused by a built-in tool called Gatekeeper, however, Apple also provide options to access these apps manually. Bear in mind, that many applications developed by unidentified programmers hide malware or other types of viruses, so by installing or launching these applications, your computer is at risk of infection. If, however, you are confident that the application you are trying to access is safe, follow the guide below where we describe various methods to install or launch applications created by unidentified developers.

Table of Contents:

It is recommended to run a free scan with Malwarebytes - a tool to detect malware and fix computer errors. You will need to purchase the full version to remove infections and eliminate computer errors. Free trial available.

Open an application created by unidentified developer

Allow Apps From Anywhere

If you have a trusted application from an unidentified developer, but cannot access it due to Gatekeeper, this method describes how to grant access to it. Begin by entering the actions menu, hold down the Control key on the keyboard and click the icon (or simply right-click it), and then choose Open from the list. A warning message asking to confirm your actions will appear - this is to ensure you wish to open an application created by an unidentified developer. Click open. Your application will start in the usual way. Following this path, you can open all applications created by unidentified developers, however, bear in mind that you will also be increasing the chance of Mac infection.

Allow access to all applications created by an unidentified developer

If you are confident about your security and seeking to access all applications by an unidentified developer, this step shows how to disable Gatekeeper on the Mac. To begin, open Mac System Preferences by clicking on Apple logo the menu bar at top of your screen, and then selecting System Preferences. Open the Security & Privacy pane and choose the General tab. Click the lock icon in the bottom left corner of the window to grant access to adjust preferences. Locate the 'Allow applications downloaded from' option and select the last option named 'Anywhere'. A new warning message will pop up - select Allow From Anywhere. From this point, the Mac's Gatekeeper will stop blocking applications created by unidentified developers.

Allow apps to download

Allow apps from anywhere on macOS Sierra

The release of the macOS Sierra built-in protection tool called Gatekeeper resulted in more restrictions in the way applications created by unidentified developers are accessed. The 'allow from anywhere' option is hidden by default, however, the built-in command line application can easily resolve this issue.

To start, close System Preferences and open Terminal via Spotlight by pressing the keyboard shortcut of Command and Spacebar, Then type Terminal and press return, or go to Applications, and then Utilities folder via Finder. Once Terminal launches, type the following command and press return.

  • sudo spctl --master-disable

The command line will ask you to confirm your actions with an administrator account password (since sudo uses super user permissions).

Open Mac System Preferences, choose the Security & Privacy pane, and select the General tab. Click the lock in the bottom left corner of the window - you will then see an Anywhere option beneath the 'Allow apps downloaded from' line. Select this option and agree with all warning messages. From this point, you will be able to launch applications created by unidentified developers, however, as mentioned above, express caution when opening this type of application. If your computer is used by a number of different users, leaving this option enabled is not recommended.

To revert the changes and re-enable the built-in Gatekeeper tool, disable the Anywhere option by selecting one of the other two: 'App Store' or 'App Store and identified developers'. If you wish to return everything to the default state, simply open Terminal, type the following command, and press Return.

  • sudo spctl --master-enable

Allow Apps Downloaded From Mac

You will be asked to confirm your actions with an administrator password.

Windows 10 Allow Downloaded Apps

Video Showing how to open applications from unidentified developers on a Mac