How to install Linux subsystem on Windows 10 and Windows 11

How to install Linux subsystem on Windows 10 and Windows 11

Microsoft has made it as easy as possible to install the Lunux subsystem on Windows 10 and Windows 11. It can be done with just one command at the command line.

Previously, this feature was implemented in recent experimental builds of Windows 10, and now it spreads on all versions of Windows 10 above 2004, as well as on Windows 11.


Run the command line as administrator (this can be done, for example, through the menu that appears by clicking the right mouse button on “Start”), enter the command wsl.exe –install and press Enter. And if earlier it was a rather long process with different settings and installation of individual packages, now the installation is much faster and easier. When the Linux subsystem is finished, you must restart your computer.

By default, the Ubuntu distribution is installed, but the user can choose a different Linux build. The choice of possible options appears after running the wsl –list –online command, and to install a specific distribution, you need to run the wsl –install -d command.

Other commands are supported: general Linux subsystem configuration information can be viewed with the wsl –status command, the wsl –update command updates the subsystem kernel, and wsl –update rollback rollbacks to a previous kernel version.

Related Posts