
If the update command doesn’t work, open Settings > Update & Security > Windows Update > Advanced options, and turn on the “ Receive updates for other Microsoft products when you update Windows” toggle switch. Once you complete the steps, if an update is available, it will download and install on the device. Type the following command to update the WSL kernel and press Enter: wsl -update Search for Command Prompt, right-click the top result, and select the Run as administrator option. To update the WSL kernel to the latest version on Windows 10, use these steps: Remember to replace “DISTRO-NAME” in the command with the distro’s name to install, such as Debian.Ĭontinue with the Linux distro setup as necessary.Īfter you complete the steps, the Windows Subsystem for Linux 2 components will install with the distro of Linux you specified. Type the following command to install the WSL with a specific distro on Windows 10 and press Enter: wsl -install -d DISTRO-NAME Quick note: At the time of this writing, you can install Ubuntu, Debian, Kali Linux, openSUSE, and SUSE Linux Enterprise Server. To install Windows Subsystem for Linux on Windows 10, use these steps: Microsoft has simplified the installation process of the WSL on Windows 10 to only one command that downloads and installs all the required components, including the virtual machine platform and Ubuntu Linux by default. Install WSL2 on Windows 10 (older versions).

This guide will teach you the steps to install the Windows Subsystem for Linux 2 on Windows 10. The feature runs an actual Linux kernel in a virtual machine, which improves performance and app compatibility over the previous version while maintaining the same experience as the first release. WSL2 (Windows Subsystem for Linux version 2) is a new version of the architecture that allows you to use Linux on top of Windows 10 natively (using a lightweight virtual machine) and replaces WSL. To update the WSL2 kernel, run the “wsl –update” command.To install a specific distro, run “wsl –install -d DISTRO-NAME.”.The command will install all the WSL2 components and the Ubuntu Linux distro.

