Microsoft is reducing installation of WSL on Windows 10 to a single command

Spread the love

Microsoft has simplified the installation of Windows Subsystem for Linux on Windows 10. Executing a single command is now sufficient to install WSL. That works with Windows 10 version 2004 and later versions.

Windows 10 users can now install WSL by running wsl.exe –install in the command prompt or PowerShell as an administrator. By default, Windows then installs Ubuntu and the most current WSL Linux kernel. According to Microsoft The method of adding the Linux subsystem to Windows 10 was previously too complicated. This was done through the optional Windows functions and downloading packages.

To take advantage of the new installation method, users must KB5004296 to install. Microsoft released this update last week for Windows 10 version 2004 and later versions. The recent Windows Insider Preview versions of Windows 10 already include the simplified WSL installation.

Users can use wsl –list –online to get a list of Linux distributions to install, and if they want a distro other than Ubuntu, they can add it with wsl –install -d . Updating the WSL Linux kernel can be done with wsl –update and with wsl –update rollback you can go back to a previous kernel version. Furthermore, with wsl –status information about, among other things, the selected distro and kernel version can be retrieved.

You might also like
Exit mobile version