Now it will be easier to install WSL on Windows: just one command

WSL in Windows 10

I know some of you are thinking the usual thing: this news is about Windows, and this website is called Linux Addicts. True, but the article is about Linux within Windows, which Microsoft calls WSL , or Windows Subsystem for Linux. And while I'm not a huge fan of the Windows operating system, it's also important to report on software like this, one that the company led by Satya Nadella is developing slowly but surely.

It's been just over a year since it became possible to run Linux applications with a user interface in WSL. Microsoft also promised long ago that installing or activating the Windows Subsystem for Linux would be simpler, and that moment arrived this weekend. Now, a simple command that can be executed from the Command Prompt is all it takes.

wsl.exe –install and we will have WSL

The first thing to keep in mind is that you need version 2004 or later . If you have (or have, because I hardly use Windows anymore) all the updates installed, the option should be there. Installing WSL from now on is as simple as:

  • We open the command prompt as administrator. I would prefer PowerShell, but the official info doesn't mention it.
  • We wrote wsl.exe --install. And that's it.

The command installs the subsystem and additionally Ubuntu as the default distribution next to the latest kernel of the device. With wsl -- update kernel can be updated. Ubuntu will appear after reboot. If you prefer another distribution, you just have to uninstall one and put another.

Personally and as I have already mentioned, I am not a fan of Windows, but at least they have this, to which will be added the support of Android applications in the future Windows 11. Perfect for those who have patience and support slowness Windows.


Add as preferred source in Google