DEV Community

Cover image for Enable GateKeeper  macOS
Reybis Ceballos
Reybis Ceballos

Posted on • Originally published at reybis.com

3 2

Enable GateKeeper macOS

Have you disabled Gatekeeper on macOS? And want to reset security to system default settings, this post is for you.

Ok, so let's get started.

In this post, we will enable Gatekeeper back again only to allow applications from the App Store or Developers identified by Apple.

  1. In terminal run the following command. ```toml

sudo spctl --master-enable


2. To verify that **Gatekeeper** is enabled, go to System Preferences, and you should see the following.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ym35w059gcw2hwaztn9o.png)
   * Only **App Store** and **App Store and identified developers** are displayed.
   * The option **App Store** and the **Identified developers** is selected.

That's it, now **Gatekeeper** is back 😃

If you want to disable **Gatekeeper** again, I show you how to do it **here**.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs