I\'m trying to install ngrok
(which I\'ve been using for a while on Windows with no issues) on my 1 week old yosemite and these are the steps I\'ve followed so
In shorts,ngrok should be in same directory in which you are running ngrok command.
This is how I got it to work..
For Mac
For Windows 10 bash:
I had followed the instructions as per the ngrok download instructions:
So the file downloaded to ~/Downloads
But I still needed to move ngrok into my binaries folder, like so:
mv ~/Downloads/ngrok /usr/local/bin
Then running ngrok
in terminal works
I have also faced this issue on my MacOS, I used these simple steps and it worked for me.
Just open the terminal and go to your project folder where you what to start ngrok and then unzip downloaded file.
$ unzip /path/to/ngrok.zip
After doing this you don't need to authenticate ngrok, just run this command:
./ngrok http 80
It should work now.
On Windows ngrok.cmd works well from Git Bash, not ngrok
Execute the following command into the terminal :
sudo cp ngrok /usr/local/bin
Now your ngrok execuatable file is successfully copied to the /usr/local/bin directory. Now you are able to run the ngrok command in the terminal