How to upgrade app from WSL version 1 to 2
If we have upgraded the existing WSL system from version 1 to version 2, the previously installed Linux distributions will remains with older version itself. This article explains the command to upgrade existing WSL apps from version 1 to 2.
#wsl --set-version DISTRO-NAME 2
Where DISTRO-NAME need to be replaced with the corresponding value.
The same command can be used to downgrade the version also.
#wsl --set-version DISTRO-NAME 1
Where DISTRO-NAME need to be replaced with the corresponding value.
That's all…