HomeTERMUX TOOLHow to reset Termux application

How to reset Termux application

Sometimes termux users run into problems at the time they uninstall and install termux application, so we lost our important tools and scripts, so in this article, I will show you how to reset termux settings to default without errors and data loss.

Reset Termux app

Resetting the termux application is very simple, By resetting in this way, we can avoid data loss, time-saving, and solve any Termux problem. There are 3 ways to reset termux application,

  1. Removed only package
  2. Complete reset without tool
  3. Reset github tool

1. Removed only package

If you use the termux application frequently, you may have installed too many github tools; if you do not uninstall unnecessary ones after installing more tools, hanging and app crusing problems may occur; at this point, you may consider resetting your termux application, but this is not necessary because we can easily resolve the problem. Installed tools can be uninstalled.

Follow the steps below to uninstall the tool you installed.

Step 1: First, you need to open your Termux application and select the tool you want to uninstall.

Step 2: After selecting the tool you want to uninstall, execute the command given below.

				
					rm -rf (tool name)
				
			
Output for removing the termux package

That’s all there is to it. Similarly, we can easily uninstall our installed tools without having to totally reset the termux program.

2. Complete Reset Termux without tool

Without the use of this one tool, we may fully reset our termux application. You must do so by following the steps outlined below.

Step 1: First, open the “settings” on your Android phone. 

Step 2: After opening the settings, open the app’s settings and select the manage apps option.

Step 3: Now choose “termux app” and click the “clear data” option

Output for clearing the app data

That’s all there is to it; by doing so, all of the tools and settings in our termux program will revert to their normal settings; that is, it can be done without uninstalling like a fresh installation.

3. Reset termux with github tool

This “Termux reset” GitHub tool is specially designed for resetting Termux applications. This tool is built entirely with a bash script. And this tool is also very easy to use.

Step 1: To begin, enter the following command in the terminal to download this utility into our termux application. This will download the utility into termux in a matter of seconds.

				
					git clone https://github.com/TermuxHackz/Termux-reset.git
				
			
Output for downloding the termux tool

Step 2: Now run the two commands shown below one at a time to change the directory and grant read/write access.

				
					cd Termux-reset
chmod +x Termux-reset.sh
				
			
Output for changing the directory and permit read and write

Step 3: Once you’ve finished the aforementioned instructions in their entirety, use the command listed below to start the tool.

				
					bash Termux-reset.sh
				
			

That’s it finished, Once you run this tool on your termux application you will be resetting your termux completely.

I hope this article helps you a lot if you have any doubts means please free to ask in the command section.

RELATED ARTICLES

Leave a reply

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments