Install WSL | Microsoft Docs
docs.microsoft.com › en-us › windowsFeb 01, 2022 · To set the default version to WSL 1 or WSL 2 when a new Linux distribution is installed, use the command: wsl --set-default-version <Version#>, replacing <Version#> with either 1 or 2. To set the default Linux distribution used with the wsl command, enter: wsl -s <DistributionName> or wsl --setdefault <DistributionName> , replacing <DistributionName> with the name of the Linux distribution you would like to use.
WSL | Ubuntu
https://ubuntu.com › wslEnable WSL on Windows 10 ... Restart your computer. ... After restarting, download and install the WSL 2 Linux kernel from Microsoft for your device architecture:.