How to Upgrade version from WSL 1 to WSL 2 on a previously installed Linux distributions
To update from WSL 1 to WSL 2 on previously installed Linux distributions, use the command: wsl --set-version <distro name> 2
replacing <distro name>
with the name of the Linux distribution that you want to update. For example, wsl --set-version Ubuntu 2
will set your Ubuntu distribution to use WSL 2.
Old WSL 1 Version:
Old WSL 1 Version |
Upgrade to WSL 2 Version:
upgrade_wsl_version |
No comments