fbpx
Join WhatsApp
Join Now
Join Telegram
Join Now

How to install NGROK in kali linux | setup ngrok in kali linux 2025

By Noman Mohammad

Published on:

How to install NGROK in kali linux
5/5 - (1 vote) ๐Ÿ’– THANKS

Hey everyone today we are going to see How to install NGROK in Kali Linux also how can we setup NGROK in Kali Linux. So, let’s see everything about NGROK from installing, running, and also installing NGROK from Linux so let’s start.

I am Noman Mohammad welcoming you all to our amazing community specially made for Linux users to make your journey of reading complicated articles and watching long videos easier by providing simple and easy-to-follow step-by-step tutorials.

how to install NGROK in Kali Linux terminal

1๏ธโƒฃ Go to Ngrok Official Website
2๏ธโƒฃ Select the Linux version and download it.
3๏ธโƒฃ Once downloaded, Go to your Downloads folder:

cd Downloads

Also Read: How To Install Zorin OS Without USB

how to unzip NGROK in Kali Linux

1๏ธโƒฃ After downloading the zip file let’s extract it properly by running the below command:

unzip ngrok-stable*zip

2๏ธโƒฃ Now we can see the extracted files in the Download folder or in the current directory.

Pro Tip: If you encounter a permission issue, ensure you have unzip installed or use a file manager to extract it manually.

how to set up NGROK in Kali Linux

Before running NGROK we need to authenticate it:

1๏ธโƒฃ Sign up for a free Ngrok account at Ngrok Signup.
2๏ธโƒฃ Log in and find your authentication token under the โ€œYour Authenticationโ€ section.
3๏ธโƒฃ Copy the token and run this command:

./ngrok authtoken your_auth_token

โœ… Now, Ngrok is authenticated and ready to use.

how to start NGROK in Kali Linux

Now let start the NGROK server by following this step-by-step guide:

1๏ธโƒฃ Open the terminal and Go to the directory containing the Ngrok file.
2๏ธโƒฃ Run Ngrok by specifying the port you want to forward. For example, if your local server is running on port 80:

./ngrok http 80

Ngrok will generate a unique forwarding URL. You can share this URL to access local web server online! ๐ŸŒŸ

How to run NGROK in Kali Linux

Ngrok works with any port. If your local server uses a different port (e.g., 8080), simply replace the port number in the command:

./ngrok http 8080

You can now access your local server from anywhere using the provided Ngrok URL.

How to use NGROK in Kali Linux

Hereโ€™s how you can make the most of Ngrok:

1๏ธโƒฃ Start a local server on your machine using Python:

sudo python3 -m http.server 80

2๏ธโƒฃ Run Ngrok to expose your local server:

./ngrok http 80

3๏ธโƒฃ Use the forwarding URL provided by Ngrok to share your local server with others.

๐ŸŽฏ Use Cases:

  • Share your latest project demo.
  • Test webhooks or APIs.
  • Host temporary websites without purchasing a domain.

How to update NGROK in Kali Linux

Keep your Ngrok up to date for the latest features and security fixes:

1๏ธโƒฃ Download the latest version from the Ngrok website.
2๏ธโƒฃ Replace the old file with the new one in the same directory:

mv ~/Downloads/ngrok ~/path/to/your/ngrok

3๏ธโƒฃ Re-authenticate if needed:

./ngrok authtoken your_auth_token

How to uninstall NGROK in Kali Linux

If you no longer need Ngrok, follow these steps:

1๏ธโƒฃ Navigate to the directory containing Ngrok.
2๏ธโƒฃ Remove the Ngrok file using:

rm ./ngrok

3๏ธโƒฃ Clear your authentication details (optional) by deleting the config file:

Ngrok is now completely uninstalled.

๐Ÿ”ฅ Final Thoughts

NGROK is very useful tool to take our local codes or websites to online. If you want to access a local server publically or debugging webhooks, Ngrok makes it hassle-free. If you found this guide helpful, share it with others! And donโ€™t forget to join our community for more Linux tips. Drop your questions in the comments below I will try My best to answer You.

Noman Mohammad is a tech enthusiast who began mastering Linux at just 16 years old. With a certification in cybersecurity from a renowned organization, he specializes in ethical hacking, network defense, and secure IT practices. Nomanโ€™s hands-on experience and dedication make him a trusted authority in Linux systems and cybersecurity. Connect with him for expert insights and solutions in todayโ€™s digital world.

Leave a Comment