HomeTermuxHow to install ngrok on termux

How to install ngrok on termux

install ngrok with termux without any error

Install ngrok on termux – Ngrok is an excellent online port forwarding tool. Using this tool you can host a page online and make it usable by anyone. And the special feature of this is that it is completely free.

In this post we will see how to install this ngrok tool on termux without any error.

Install ngrok on termux

Pre-request

We need to install the two most important package required to run this tool.

1. Wget

This wget package is used to download a tool or a zip or rar file directly to termux. To install this tool on your termux run the following command.

				
					pkg install wget
				
			
Phishbait – termux phising tool
Output for installing the wget tool on termux

2. Unzip

This unzip package is used to expand a zip file. Install the unzip tool with the below commands.

				
					pkg install unzip
				
			
Phishbait – termux phising tool
Output for installing unzip tool on termux

Ngrok installetion

Now you need to go to the ngrok site and create an account for yourself then copy the ngrok download link in your account and type the following and paste it in your termux.

				
					wget (your ngrok download link)
				
			
How to install ngrok on termux
Output for copied ngrok download link
How to install ngrok on termux
Output for downloading the ngrok

Now to unzip the downloaded ngrok zip file, type in your termux as shown below and press enter.

				
					tar -xvzf (your ngrok zip file name)
				
			
How to install ngrok on termux
Output for unzip ngrok file

Now you need to give the ngrok tool the necessary permission to run on your termux so type the following command

				
					chmod +x ngrok
				
			
How to install ngrok on termux
Output for giving permission to the ngrok

Now you have to login your ngrok account again in the browser and copy the authtoken for yourself and paste the termux.

How to install ngrok on termux
Output for copy ngrok authtoken
How to install ngrok on termux
Output for install ngrok authtoken to the termux

ngrok installation is complete Now run the following command to execute ngrok on your termux.

				
					./ngrok http 4444
				
			
How to install ngrok on termux
Output for run ngrok on termux

On some phones ngrok may not work properly then turn on the hotspot on your mobile and alternatively run your termux using the command given above.

I hope this post is very useful for you and if you have any doubts about this post you can ask me by command.

RELATED ARTICLES

1 Comment

Leave A Reply

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular