ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

Install and run ngrok2 from terminal ubuntu 16

Open fauzan-raza opened this issue 8 years ago • 14 comments

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 avatar Sep 18 '17 13:09 fauzan-raza

@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.

tomasdev avatar Oct 19 '17 18:10 tomasdev

  1. Installing: sudo apt-get update sudo apt-get install ngrok-client

offline-pixel avatar Nov 30 '17 04:11 offline-pixel

You can't. You can only download, unzip, and make an alias.

Currently on apt repository the ngrok-client is version 1.6

MnHung avatar Feb 27 '18 09:02 MnHung

You can, using node: npm i -g ngrok

MarcelBuian avatar Apr 06 '18 13:04 MarcelBuian

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)

FRANZEE avatar Aug 16 '18 08:08 FRANZEE

sudo snap install --edge ngrok that seemed to work for me

prithvihv avatar Sep 10 '18 13:09 prithvihv

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

rpayne0629 avatar Mar 31 '19 20:03 rpayne0629

My server doesn't support snap, what is the workaround?

Chew avatar May 03 '19 22:05 Chew

In my case the Snap had incorrect permissions, so I had to install in "dev mode".

$ snap install ngrok --devmode

njlr avatar Jun 05 '19 10:06 njlr

I am a Ubuntu 18.04 user and I've installed ngrok running the following command in terminal. $ sudo snap install ngrok

Jehangir-Wahid avatar Jul 04 '19 12:07 Jehangir-Wahid

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.

dark-swordsman avatar Oct 29 '19 17:10 dark-swordsman

you can use wget with the download link: wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip

yuval092 avatar Feb 14 '20 14:02 yuval092

sudo snap install ngrok

NRSingh007 avatar May 29 '20 23:05 NRSingh007

My server doesn't support snap, what is the workaround?

sudo npm i -g ngrok Works for me on WSL1

mellester avatar Dec 08 '20 13:12 mellester

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.

russorat avatar May 09 '24 18:05 russorat