Install WSL on Windows: Microsoft began testing support for Linux GUI apps on Windows 10 earlier this year. On Insider builds, the firm built it using the Windows Subsystem for Linux GUI (WSLg). In addition to this exciting development, Microsoft has simplified WSL installation for Insiders by using a single install command. The WSL installation command has now been added to earlier Windows 10 versions by the Redmond giant.
With a single command, you can install WSL on Windows 10
You may install Windows Subsystem for Linux on your PC with the ‘wsl –install’ command. Microsoft has now extended the command to Windows 10 version 2004 and higher, which was previously only available on Insider versions.
“The process will automatically enable the WSL optional features required, install the Ubuntu distribution by default, and install the latest WSL Linux kernel version onto your machine. When it’s completed and you restart your machine, your distribution will start after you boot up again, completing the installation,” Program Manager, Windows Developer Platform, Craig Loewen said.
To see a list of available Linux distributions, run the command ‘wsl –list –online’. Furthermore, the command ‘wsl –update’ allows you to manually upgrade your WSL Linux kernel. Other options include ‘wsl –update rollback’, which allows you to revert to a prior WSL Linux kernel version, and ‘wsl –status,’ which displays information about your current WSL installation.
To use the new WSL command, go to Settings -> Updates and Security -> Check for updates and make sure Windows 10 is up to current. The version KB5004296, it’s also accessible as an optional upgrade.
While getting started with the command is very simple, WSLg is already available in Windows 11. To launch Linux GUI programs on Windows 11, follow the same methods.