Skip to main content
ngrok logo

Download ngrok

ngrok is your app’s front door—and the fastest way to put anything on the internet.

Agent

Linux

Installation

Install ngrok via Apt with the following command:

curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
  | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
  && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" \
  | sudo tee /etc/apt/sources.list.d/ngrok.list \
  && sudo apt update \
  && sudo apt install ngrok

Configure and run

Add your authtoken:

Don’t have an authtoken? for a free account.

ngrok config add-authtoken 

Start an endpoint:

ngrok http 80

Congratulations, you have an endpoint online!

You can run ngrok as a background service on a Linux machine.