Termux for PC | How to install Termux in Windows | Install Termux in Laptop

In this post, I am gonna show you How you can install the termux app on your Windows🔥. So if you want to use termux in your pc or in your laptop this will work fine. I am gonna show you 2 methods, in the first one, I am gonna show you how you can install termux on you PC using Emulator. And in the second method, I will show you how you can install Termux on Your Laptop/PC without Emulator.


How to Install Termux for PC :

If you are a termux user you should know that the termux is a Terminal Emulator for Linux. Basically, it's a Lighter version on the Linux command-line interface. Since it is a Lighter version they made is a little bit simpler than the Linux terminal. And If you Run Termux Commands on Linux shell, some of them won't work. 

There are two ways you can install Termux in your PC, In the first method we will use Bluestack Android Emulator and we will install the termux apk on it. Every time we want to use the termux we will open BlueStack and use it like we do on android.

Termux for PC | How to install Termux in Windows - 2020

In the second method, we will install we will use Linux Subsystem for windows to install the Linux shell in Windows. Since we are using the Linux subsystem we will be installing the full version Linux shell and not the light version termux. This will run much faster than the 1st method and it will not lag at all and Bluestack will lag a lot if you have 4gb ram PC.

But the only difficulty in using the  2nd method is that only a few commands will differ from the termux commands. Like you must have to use apt and not the pkg and some time you will need to type sudo before commands because the terminal will be rooted😍.



Method 1: Install Termux in Windows Using Emulator:

In this method, we will install the Bluestack and then we will install Termux on it. This method will work on any Windows PC But you must have a good configuration else it will lag.

Step 1:

First of all, you have to Install BlueStack in your PC, Just Click on the below Download link and a setup file of less than 2 MB will be installed on your PC.

Termux for PC | How to install Termux in Windows - 2020




Step 2:

Click on the Downloaded File in the bottom left corner of your chrome.

Termux for PC | How to install Termux in Windows - 2020

and the Installer will Open Just click on Install and it will start Downloading the Tool in your Windows. 

Termux for PC | How to install Termux in Windows - 2020

The Blue stack will take around 500MB to download.



Step 3:

Now after the installation is done, It will ask you to sign in the google play store. Click on the sign in Button and then Enter your email and password and you will be logged in.

Termux for PC | How to install Termux in Windows - 2020



Step 4:

Now you can see the PlayStore in your BlueStack, Just Click on the Search bar and Type Termux and Press Enter. 

Termux for PC | How to install Termux in Windows - 2020


Step 5:

Install the Termux Like you normally do in your android Phone. After it's installed Press Click Open.

Termux for PC | How to install Termux in Windows - 2020



Step 6:

Now you can see I can use termux in Windows10 without any Interruption.  I am also running the cool header script, If you also want to add this header then you read this [Termux-Cool-Header]

Termux for PC | How to install Termux in Windows - 2020


Tip : 

To Run the termux again you need to open the blue stack and there you can see the Termux Icon also it will Create a Termux icon on your Home Screen you can also click that icon to run the Termux in your Windows. You can use Termux commands like you do in your Phone.  If you don't like termux bluestack method, you can always try the next method.




Method 2: Install Termux on PC Without Emulator : 

In this method, we will Not install an Emulator to run termux, We will install the Linux terminal in Windows so that we can use Linux tools in Windows which is the same as Linux. 

Step 1:

Press the Windows key on your keyboard and type "turn windows features on or off" and select the top Option and it will open the below window in your computers.

Termux for PC | How to install Termux in Windows - 2020



Step 2:

Now Scroll to the Bottom and then Turn on the Windows Subsystem for Linux.  and then press Ok.

Termux for PC | How to install Termux in Windows - 2020



Step 3:

Now it will check for the components to turn on the subsystem features and then it will apply the changes and it will ask you to restart the System, Click on the Restart Button.

Termux for PC | How to install Termux in Windows - 2020


Step 4:

Now You have to install the Kali Linux Terminal in your Windows from the Microsoft Store click on the below link.  And Click on the get app or install Button and install the tool.

Termux for PC | How to install Termux in Windows - 2020



Step 5:

After Downloading, You can Directly Launch the Kali Linux application and the For the First time it will ask you for your username and password, Just Type any simple Username and password, Because you will have to type this password a lot while installing anything.

Termux for PC | How to install Termux in Windows - 2020




Step 6:

Now everything is Set and you just have to use this Terminal like you use termux but Keep in mind that this is Actual Linux, so you need to use Linux commands. The Linux commands are the same as termux you just have to use apt here and not pkg. You will also have to type sudo before commands if they are not working normally. Here is a Linux Cheat Sheet That you can follow for a better experience.  Below, you can see that I have installed Neofetch in Kali Linux shell.


Termux for PC  How to install Termux in Windows - 2020


Method 3: Use Termux in Windows Using SSH Server:

This is a Bonus tip, using this method you will be able to access your termux in your Windows10 without any lag and without installing any things. This is the latest and tested method and it is far better than the above two methods if you have a phone with you. i have written a dedicated post on this topic so you can read it here : Termux SSH : Use Termux in Windows Using SSH Server ]





Conclusion : 

These are the most common methods to use termux in PC. To be honest the Bluestack is accurate because you are actually using Termux BUT it takes all your resources and It lags a lot. To test all the scripts that I make, I use the windows subsystem for Linux, It is a much faster, Cleaner, and it is same as the termux. If you can use Linux Shell than that means you are a good Linux user. If you are facing any error while installing and using these tools just drop a comment I will surely give you a reply. Thanks For reading Guys, and as always Stay Ethical👾.

Post a Comment

6 Comments

  1. Thanks. I did method 2 but how can i open a .py file which is it's on my downloads folder?

    ReplyDelete
    Replies
    1. Try dragging the file on the terminal or you can also copy the code and just make a new file, there are also other methods you can search on youtube about Windows subsystem for Linux

      Delete
  2. How can i switch back to windows after installing linux

    ReplyDelete
    Replies
    1. Just use CMD insted of kali linux launcher.

      Delete

Popup Image