Enable Windows Subsystem for Linux 2
To start using WSL2 or covert WSL distros to WSL2, use these steps:
-
You must be registered for see links
(required).
- Double-click the wsl_update_x64.msi file and apply the update.
- Open Start.
- Search for PowerShell, right-click the top result, and select the Run as administrator option.
- Type the following command to set Windows Subsystem for Linux 2 your default architecture for new distros that you install, and press Enter:
wsl --set-default-version 2
- (Optional) Type the following command to convert the distro from WSL to WSL 2 and press Enter:
wsl --set-version Ubuntu 2
In the command, change āUbuntuā for the distroās name you want to convert. If you do not know the distroās name, use the wsl -l -v command.
Once you complete the steps, your device will start using the new version of Windows Subsystem for Linux as the default architecture. (See
You must be registered for see links
on the Pureinfotech YouTube channel.)
Confirm distro platform
To confirm distros are using the Windows Subsystem for Linux 2, use these steps:
- Open Start.
- Search for PowerShell, right-click the top result, and select the Run as administrator option.
- Type the following command to verify the version of the distro and press Enter:
wsl --list --verbose
- Confirm the distro version is 2.
After you complete the steps, you will know if the process was successful or if you need to troubleshoot any of the steps.