Skip to content

Instantly share code, notes, and snippets.

@milocosmopolitan
Last active June 21, 2023 16:31
Show Gist options
  • Save milocosmopolitan/74f870e6f2ead8493d6b5bbba8cfb010 to your computer and use it in GitHub Desktop.
Save milocosmopolitan/74f870e6f2ead8493d6b5bbba8cfb010 to your computer and use it in GitHub Desktop.
Install ngrok on Mac OS X El Captin(10.11)

#Installing ngrok on OSX

When you try to install with downloaded zip file from ngrok website, alert message will pop up and tell you "ngrok" can't be opened because it is from an unidentified developer.

You can simply use homebrew to install this without any issue.

  1. Open your terminal
  2. $ brew cask install ngrok
@jayaca
Copy link

jayaca commented Nov 22, 2019

🍺 ngrok was successfully installed!

But when i run the command ngrok http 80 it throws the error.
“ngrok” cannot be opened because the developer cannot be verified.

I have the exactly the same problem than you.... What do you do?

@swaraj-bbdl
Copy link

🍺 ngrok was successfully installed!
But when i run the command ngrok http 80 it throws the error.
“ngrok” cannot be opened because the developer cannot be verified.

I have the exactly the same problem than you.... What do you do?

@jayaca I have used localtunnel.

@acro5piano
Copy link

But when i run the command ngrok http 80 it throws the error.
“ngrok” cannot be opened because the developer cannot be verified.

If you are using MacOS then open "System Preferences > Security & Privacy > General" and allow ngrok

@Tharuntan
Copy link

@acro5piano Thank's

@spankie
Copy link

spankie commented Dec 9, 2020

But when i run the command ngrok http 80 it throws the error.
“ngrok” cannot be opened because the developer cannot be verified.

If you are using MacOS then open "System Preferences > Security & Privacy > General" and allow ngrok

Thanks.

@SadikurSadik
Copy link

But when i run the command ngrok http 80 it throws the error.
“ngrok” cannot be opened because the developer cannot be verified.

If you are using MacOS then open "System Preferences > Security & Privacy > General" and allow ngrok

Thank you

@helloromero
Copy link

Anyone else not seeing the option under "System Preferences > Security & Privacy > General" ?

On MacOS Catalina ?

@jacek213
Copy link

But when i run the command ngrok http 80 it throws the error.
“ngrok” cannot be opened because the developer cannot be verified.

If you are using MacOS then open "System Preferences > Security & Privacy > General" and allow ngrok

thanks!

@arikanev
Copy link

Anyone else not seeing the option under "System Preferences > Security & Privacy > General" ?

On MacOS Catalina ?

Hi - Im also not seeing it - I'm on Big Sur

@acro5piano
Copy link

If you are using MacOS then open "System Preferences > Security & Privacy > General" and allow ngrok

I was using Catalina when I posted it.

@awebi
Copy link

awebi commented Jan 24, 2021

Anyone else not seeing the option under "System Preferences > Security & Privacy > General" ?
On MacOS Catalina ?

Hi - Im also not seeing it - I'm on Big Sur

I'm on Big Sur and I saw it. it's pretty easy to miss, but after you run the command and get the message, look down in the "Allow apps downloaded from" section in the "General" tab (System Preferences > Security & Privacy > General), you should see a button asking you to allow "ngrok" permission.

@valachi
Copy link

valachi commented Feb 10, 2021

Anyone else not seeing the option under "System Preferences > Security & Privacy > General" ?
On MacOS Catalina ?

Hi - Im also not seeing it - I'm on Big Sur

I'm on Big Sur and I saw it. it's pretty easy to miss, but after you run the command and get the message, look down in the "Allow apps downloaded from" section in the "General" tab (System Preferences > Security & Privacy > General), you should see a button asking you to allow "ngrok" permission.

Thanks it works like a charm!

@frankraza
Copy link

But when i run the command ngrok http 80 it throws the error.
“ngrok” cannot be opened because the developer cannot be verified.

If you are using MacOS then open "System Preferences > Security & Privacy > General" and allow ngrok

Thank you @acro5piano

@aghwotu
Copy link

aghwotu commented Mar 5, 2021

Anyone else not seeing the option under "System Preferences > Security & Privacy > General" ?
On MacOS Catalina ?

Hi - Im also not seeing it - I'm on Big Sur

I'm on Big Sur and I saw it. it's pretty easy to miss, but after you run the command and get the message, look down in the "Allow apps downloaded from" section in the "General" tab (System Preferences > Security & Privacy > General), you should see a button asking you to allow "ngrok" permission.

Thank you @awebi

@arikanev
Copy link

arikanev commented Mar 5, 2021

Yes, thanks. Don't remember exactly how but I was able to get it to work, maybe I found the preferences pane. Not sure. Thx

@majedbojan
Copy link

majedbojan commented Mar 9, 2021

For Homebrew v2.6.x and below:

brew cask install ngrok

For Homebrew v2.7.x and above:

brew install --cask ngrok

@wi-ski
Copy link

wi-ski commented Mar 9, 2021

brew install --cask ngrok is what youre here for

@gangsthub
Copy link

@acro5piano THANKS!

@CRJones7
Copy link

Thank youu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment