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
2. Unzip
This unzip package is used to expand a zip file. Install the unzip tool with the below commands.
pkg install unzip
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)
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)
Now you need to give the ngrok tool the necessary permission to run on your termux so type the following command
chmod +x ngrok
Now you have to login your ngrok account again in the browser and copy the authtoken for yourself and paste the termux.
ngrok installation is complete Now run the following command to execute ngrok on your termux.
./ngrok http 4444
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.
إرسال تعليق