When Windows realized that it’s command line tool (cmd) is useless(it took two decade for Microsoft to realize just that), it released a Windows feature termed as “Windows subsystem for Linux”. This feature basically, gives you the power of the Linux terminal on Windows. Through this feature you can use the power of terminal without compromising on the GUI experience of Windows. But, it is to be noted that this doesn’t give you the untouchable power of the Linux Kernel. It just provides a terminal and it’s power to you. So, let’s get started:
Step 1: User left click on "Type here to search (button)"
Step 2: Search for “Turn windows feature on or off” in the search box. And click it.
Step3: Scroll down on the “Windows feature on or off” window to the option Windows SubSystem for Linux. Turn it on by clicking on the checkbox beside it. Than click OK.
Step 4: Open Microsoft Store from the start menu and search for Linux in the search bar.
Step 5: Choose the Linux distro of your choice and click on install. In case, you are confused, install Ubuntu 20.04. It comes quite handy for development purposes.
Step 6: By now the Linux terminal is installed on your computer. Now, you can open it by clicking the Linux terminal icon in start menu or type “bash” in cmd or powershell. Wait for a few minutes to let the terminal configure by itself, than enter the username and password for your terminal when requested.
Than type 'sudo apt-get update' and enter the password you have entered to start the process.