Download ngrok for Linux | ngrok

Download ngrok for Linux | ngrok

The fastest way to put anything on the internet.

Install the ngrok agent

Install ngrok via Apt with the following command:

Download a standalone executable with zero run time dependencies.

Download and extract ngrok in one command, without sudo:

This extracts the ngrok binary to your current directory. Run it with ./ngrok, or move it to a directory on your PATH.

If you downloaded in your browser, extract ngrok in a terminal:

Install ngrok via Snap with the following command:

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

80 is an example port. Use your app’s actual port. View docs for more info.

Open your ngrok URL in a browser to see it working!

You’re all set. What’s next?

Create a policy.yaml file and run this command:

Inspect every detail of your traffic

Watch the flow in real time, then dig into the headers, body, latency, response, and more for every request.

Configure your agent

Configure settings like multiple endpoints, load balancing, and traffic transformation with Traffic Policy.

Bring your own domain

Create a DNS CNAME record to use your own domain name for your endpoint URL.

Run as background service

Recover connectivity after unexpected software or hardware failures.