
If you are not already using Linux on Windows 10, you must enable the Windows Subsystem for Linux (version 1) with these steps: If you have an ARM64 system, the Linux integration is supported on version 2004 and higher. The process requires enabling WSL1, the Virtual Machine Platform, converting existing distros (if applicable), and configuring the Windows Subsystem for Linux 2 as the new default for future distro installations. Install WSL2 on Windows 10 (older versions)Īlternatively, you can still install WSL on Windows 10 version 1909 and older versions using the legacy processes. 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
:max_bytes(150000):strip_icc()/windowsnotgenuine01-5bfead3c46e0fb0051b54cc6.jpg)
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.

The command will install all the WSL2 components and the Ubuntu Linux distro.

To install WSL2 on Windows 10, open Command Prompt as admin and run “wsl –install.”.
