ngrok command not found

前端 未结 17 996
借酒劲吻你
借酒劲吻你 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条回答
  • 2020-12-22 19:37

    just download it , unzip it run

    ./ngrok http 80
    
    0 讨论(0)
  • 2020-12-22 19:38

    For Linux :https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip

    For Mac :https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-darwin-amd64.zip

    For Windows:https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-amd64.zip

    unzip it for linux and mac users move file to /usr/local/bin and execute ngrok http 80 command in the terminal

    I don't have any idea about windows

    0 讨论(0)
  • 2020-12-22 19:40

    With Homebrew already installed on your Mac, you can easily install ngrok from the terminal, using this command:

    $ brew cask install ngrok
    

    Then run it from the shell using this command:

    $ ngrok http 8000
    

    With this command, you're telling ngrok to basically create a tunnel to your localhost 8000 and assign an internet name host for it. And thats it. You should be good to go.

    0 讨论(0)
  • 2020-12-22 19:40

    Windows:

    1. Extract.
    2. Open folder
    3. Right click Windows Powershell.
    4. ngrock http 5000 {your post number instead of 5000}
    5. Make sure local server is running on another cmd too.

    //Do not worry about auth step

    0 讨论(0)
  • 2020-12-22 19:42

    On Windows 10, for me

    ngrok http 80
    

    behaves like this:

    • works from Command Prompt (cmd.exe)
    • does not work from Git Bash
    • does not work from Windows PowerShell
    0 讨论(0)
  • 2020-12-22 19:46

    The only solution that worked for me was

    yarn global add ngrok 
    yarn global add exp
    

    with npm I was getting permission errors etc..

    0 讨论(0)
提交回复
热议问题