How to install Ngrok on Windows, Mac, and Linux?

First published: | Last updated:

Learn how to install Ngrok on Windows, Mac, and Linux operating systems to create HTTP/TCP tunnels for secure and efficient communication.


What is Ngrok?

Ngrok provides quick and secure access to your applications from any cloud, private network, or device. It offers authentication, load balancing, and other important features to ensure the security and performance of your applications. Ngrok is an efficient solution for quickly exposing your app to the internet and testing it against your development backend.

Install Ngrok

This knowledge base article will guide you through the installation process of Ngrok, a tool that creates secure HTTP/TCP tunnels. To ensure a smooth and consistent installation, we recommend using a package manager compatible with your operating system—whether you are on Windows, Mac, or Linux. Once the installation is complete, be sure to check your Ngrok version to confirm that everything has been set up correctly. For detailed instructions, we highly recommend consulting the Ngrok documentation.

Windows (Scoop)

You can use the following commands to install Ngrok in the Scoop-based Windows operating system.

# Install Ngrok.
$ scoop install ngrok

# Check Ngrok version.
$ ngrok --version

Windows (Winget)

You can use the following commands to install Ngrok in the Winget-based Windows operating system.

# Install Ngrok.
$ winget install ngrok -s msstore

# Check Ngrok version.
$ ngrok --version

Mac (Homebrew)

You can use the following commands to install Ngrok in the Homebrew-based Mac operating system.

# Install Ngrok.
$ brew install ngrok

# Check Ngrok version.
$ ngrok --version

Linux

You can use the following commands to install Ngrok in any Linux-based operating system.

AMD64 / X86-64 / X64

# Download Ngrok.
$ wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -P /tmp

# Extract Ngrok from archive.
$ tar xvzf /tmp/ngrok-v3-stable-linux-amd64.tgz -C /tmp
 
# Install Ngrok.
$ sudo mv /tmp/ngrok /usr/local/bin

# Check Ngrok version.
$ ngrok --version

ARM64

# Download Ngrok.
$ wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz -P /tmp

# Extract Ngrok from archive.
$ tar xvzf /tmp/ngrok-v3-stable-linux-amd64.tgz -C /tmp
 
# Install Ngrok.
$ sudo mv /tmp/ngrok /usr/local/bin

# Check Ngrok version.
$ ngrok --version
Logo of SloopStash organization.

What's next? Let's connect to meet your IT demands.

Products Toolkits Solutions Training


Experience business-class software products, open source toolkits, technology solutions, and training, designed with cybersecurity, automation, and AI in mind.