Install and run ngrok2 from terminal ubuntu 16
Hi I want to install ngrok from terminal on my server. How do i get it and run it? I currently have ngrok 1 and it has been deprecated. Thank you.
@fauzan-raza You'll need to install Go and then compile it locally To install Go dependency: https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-16-04 To compile it: https://github.com/inconshreveable/ngrok/blob/master/docs/DEVELOPMENT.md
Hope this helps.
- Installing: sudo apt-get update sudo apt-get install ngrok-client
You can't. You can only download, unzip, and make an alias.
Currently on apt repository the ngrok-client is version 1.6
You can, using node:
npm i -g ngrok
you can go to https://ngrok.com/download, copy link address for linux64 then in terminal execute this commands: cd (folder where yo want download the file) sudo apt-get update sudo apt-get install unzip wget wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip unzip (name of downloaded file) ls (should be new file called ngrok) ./ngrok http (number of port witch you local service use)
sudo snap install --edge ngrok that seemed to work for me
You can't. You can only download, unzip, and make an alias.
Currently on apt repository the ngrok-client is version 1.6
or just run
sudo snap install ngrok
this will pull in version 2.2.8
My server doesn't support snap, what is the workaround?
In my case the Snap had incorrect permissions, so I had to install in "dev mode".
$ snap install ngrok --devmode
I am a Ubuntu 18.04 user and I've installed ngrok running the following command in terminal.
$ sudo snap install ngrok
I dunno if this helps, but it looks like there's an npm package: https://www.npmjs.com/package/ngrok
I am running WSL, so I can't use snap. Just doing sudo npm i -g ngrok worked.
you can use wget with the download link: wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
sudo snap install ngrok
My server doesn't support snap, what is the workaround?
sudo npm i -g ngrok Works for me on WSL1
Thank you for opening this issue! As of April 2016, the ngrok service has permanently moved to https://ngrok.com/. To join the community and file bug reports or feature enhancements for the ngrok agent, please go to https://github.com/ngrok/ngrok.
This repository is no longer actively maintained and will be archived soon to reduce confusion with the latest ngrok versions. We thank you for the continued support of ngrok and look forward to seeing you over at ngrok.com and the ngrok Community Repo.