(FYI: macOS High Sierra [10.13.x])

I was having trouble opening an HTML page with Sublime. And I had to use administrative privileges in order to open it through System Preferences, having received the following message:

“index.html” was blocked from opening because it is not from an identified developer.  

After looking around, I learned that there is an override for that from the CLI:

sudo spctl --master-disable

… And voila, the option to allow from anywhere is both available and enabled:

I feel compelled to tell you that this is not the safest option, since it will allow all apps that you download to run without any additional notification/warning. But if you are doing JavaScript development, good luck going without.

So, enjoy running with scissors! 😉