ngrok command not found

前端 未结 17 1097
借酒劲吻你
借酒劲吻你 2020-12-22 18:54

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

17条回答
  •  萌比男神i
    2020-12-22 19:33

    This is how I got it to work..

    For Mac

    1. If you downloaded via a download link, you need to add ngrok path to your .bash_profile or .bashrc whichever one you are using.

    For Windows 10 bash:

    1. Download ngrok from https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-amd64.zip
    2. Move executable file ngrok.exe to C:\Windows\system32\ngrok.exe
    3. Add Environment Variables via UI (search for "Edit the environment variables for your account" in the search bar next to windows logo => double click on Path under Users Variables for yourusername => Click New => add your path C:\Windows\system32\ngrok.exe => click OK.
    4. Restart your bash and you should be able to run "ngrok http 80" command.

提交回复
热议问题