[RUBY] How to install ngrok

Development environment

macOS Catalina 10.15.7 Ruby 2.5.3 Rails 5.2.3


Since there was a scene where ngrok was used in business, I would like to summarize how to introduce ngrok.


How to use ngrok https://qiita.com/hirokisoccer/items/7033c1bb9c85bf6789bd

① Please download according to the OS from the link below.


(2) After downloading, unzip the zip file and place it in a directory that is easy for you to use. I put the file in/usr/local/bin, which is in my path, so that I can use it from anywhere on the command line.

(3) Execute the command described in Connect Connect your account on the link page below to add the auth token to the default ngrok.yml file.


Command to add auth token to ngrok.yml

$ ngrok authtoken ${token}

④ If you can complete steps up to ③ without any problems, start ngrok with the following command.

$ ngrok http ${Local port number (eg 3000 on Rails)}


You can start ngrok just by following the above steps. In addition, ngrok can easily publish the local environment to the outside via http/https, so I think it is good to actively utilize it.


How to use ngrok https://qiita.com/hirokisoccer/items/7033c1bb9c85bf6789bd

How to use ngrok to expose your local site to the outside world https://parashuto.com/rriver/tools/secure-tunneling-service-ngrok#features

Recommended Posts

How to install ngrok
How to install Docker
How to install docker-machine
How to install MySQL
[Rails] How to install devise
How to install Boots Faces
How to install JDK8-10 (Mac)
[Rails] How to install Font Awesome
How to install JMeter for Mac
How to install ruby through rbenv
[How to install Spring Data Jpa]
Super rough! How to install Dagger2
How to install Bootstrap in Ruby
How to install MariaDB 10.4 on CentOS 8
[Rails] How to install ImageMagick (RMajick)
[Rails] How to install Font Awesome
How to install WildFly on Ubuntu 18.04
How to install Swiper in Rails
How to deploy
How to install Play Framework 2.6 for Mac
How to install Eclipse (Photon) on Mac
How to install the legacy version [Java]
How to install kafkacat on Amazon Linux2
How to develop OpenSPIFe
How to call AmazonSQSAsync
How to use Map
How to write Rails
How to use rbenv
How to use letter_opener_web
How to use fields_for
How to use java.util.logging
How to install network drivers on standalone Ubuntu
How to use map
How to use collection_select
How to install Titan2D (v4.2.0) in virtual environment
How to install NVIDIA driver on Ubuntu 18.04 (Note)
How to adapt Bootstrap
How to use Twitter4J
How to use active_hash! !!
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
How to uninstall Rails
[How to use label]
How to make shaded-jar
How to use identity
How to use hashes
How to write Mockito
How to install multiple JDKs on Ubuntu 18.04 LTS
How to create docker-compose
How to use JUnit 5
How to Install Oracle JDK 1.8 in Ubuntu 18.04 LTS?
How to write migrationfile
How to build android-midi-lib
[Ruby on Rails] How to install Bootstrap in Rails
How to use Dozer.mapper
How to use Gradle
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
How to use Map