Skip to content

Instantly share code, notes, and snippets.

@YamiOdymel
Created January 23, 2019 07:52
Show Gist options
  • Star 37 You must be signed in to star a gist
  • Fork 11 You must be signed in to fork a gist
  • Save YamiOdymel/d0337a6be3b2f1297c9eeab6c196fcb7 to your computer and use it in GitHub Desktop.
Save YamiOdymel/d0337a6be3b2f1297c9eeab6c196fcb7 to your computer and use it in GitHub Desktop.
$ sudo apt-get update
$ sudo apt-get install unzip wget
$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
$ unzip ngrok-stable-linux-amd64.zip
$ sudo mv ./ngrok /usr/bin/ngrok
$ ngrok
@MorattuTamizhan
Copy link

OMG BRO THANK YOU SO MUCH :d

@LucaProvencal
Copy link

Nice one

@TravisRoss
Copy link

Thank you

@YamiOdymel
Copy link
Author

Love you all 😎👍

@rationalthinker1
Copy link

Make sure that you get the latest ngrok link from the website.

@YamiOdymel
Copy link
Author

Make sure that you get the latest ngrok link from the website.

@rationalthinker1 I think the link indicates the latest version of ngrok, it's always the latest version.

@ki-arie
Copy link

ki-arie commented Nov 10, 2022

With the new ngrok v3:

  1. Download ngrok zip file
    curl --header 'Host: bin.equinox.io' --user-agent 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' --header 'Accept-Language: en-US,en;q=0.5' --referer 'https://dashboard.ngrok.com/' --header 'Upgrade-Insecure-Requests: 1' --header 'Sec-Fetch-Dest: document' --header 'Sec-Fetch-Mode: navigate' --header 'Sec-Fetch-Site: cross-site' --header 'Sec-Fetch-User: ?1' 'https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz' --output 'ngrok-v3-stable-linux-amd64.tgz'

  2. tar -xvzf ngrok-v3-stable-linux-amd64.tgz

  3. sudo mv ./ngrok /usr/bin/ngrok

@YamiOdymel
Copy link
Author

Oh didn't know v3 was released. Also found another command lines, untested.

$ wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
$ tar -xvzf ngrok-v3-stable-linux-amd64.tgz
$ sudo mv ./ngrok /usr/bin/ngrok

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