$ 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
-
-
Save YamiOdymel/d0337a6be3b2f1297c9eeab6c196fcb7 to your computer and use it in GitHub Desktop.
Make sure that you get the latest ngrok link from the website.
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.
With the new ngrok v3:
-
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'
-
tar -xvzf ngrok-v3-stable-linux-amd64.tgz
-
sudo mv ./ngrok /usr/bin/ngrok
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
Love you all 😎👍