
Install Linux in Windows 11 via Command Prompt #įirst off, let’s start off with installing Windows Subsystem for Linux 2 on your Windows 11 PC, which in turn will also install Ubuntu.

So on that note, let’s get started with the steps to install Linux on your Windows 11 PC and hence run Linux commands.

We would recommend you go through both these methods and then try out the one that is in sync with your requirement. The command prompt method is the shorter of the two whereas the Store method will give you the GUI to complete the process. Moreover, you could carry out the entire setup either via CMD or using Microsoft Store. While it installs Ubuntu by default, but you have the option to install and run its other distributions such as Debian Kali Linux, openSUSE 42, and SLES 12. And with Windows 11, the Redmonds giants have introduced the second iteration of this software which comes with tons of additional benefits.

Keeping all these points in mind, Microsoft introduced the Windows Subsystem for Linux in Windows 10 which allowed you to easily set up and run Linux just by executing a few lines of commands.
