Install WSL on Windows 10 21H1

With the July 2021 Windows update installing WSL has become extremely simple, as we will show you.

With the July 2021 and Windows 10 21H1, if you open a PowerShell terminal, you will see the WSL command-line utility is already available, as shown below.

Install a WSL Distribution

To view which Linux distributions are available for install, we run the following command.

wsl --list --online

To install a WSL distribution and effectively enable WSL, we need to run the following command.

wsl --install -d Ubuntu

The above command will install the Ubuntu 20.04 LTS. To install a different distribution, run the following command.

wsl --install --distribution Debian

To complete the installation and use WSL, restart the machine.