The above command only works if WSL is not installed at all. If you runwsl --installand see the WSL help text, please try runningwsl --list --onlineto see a list of available distros and runwsl --install -d <DistroName>to install a distro. To uninstall WSL, seeUninstall legacy vers...
The above command only works if WSL is not installed at all. If you runwsl --installand see the WSL help text, please try runningwsl --list --onlineto see a list of available distros and runwsl --install -d <DistroName>to install a distro. To uninstall WSL, seeUninstall legacy vers...
NOTEYou can install multiple Distros using the above command. It's important to update the WSL now by typing the following in the Powershell: wsl --update And shut it down:wsl --shutdown. Note: it will automatically start when the WSL distro selected from the Windows menu. ...
You can remove a distro using the commandwsl --unregister Ubuntu. If you have multiple distros, you can specify which one to remove withwsl -dfollowed by the distro's name, for example: Copy Copy wsl -d Ubuntu If you want to set Ubuntu as default distro, run the commandwsl -s Ubuntu...
The above command only works if WSL is not installed at all, if you run wsl --install and see the WSL help text, please try running wsl --list --online to see a list of available distros and run wsl --install -d <DistroName> to install a distro. To uninstall WSL, see Uni...
The above command only works if WSL is not installed at all. If you runwsl --installand see the WSL help text, please try runningwsl --list --onlineto see a list of available distros and runwsl --install -d <DistroName>to install a distro. To uninstall WSL, seeUninstall legacy vers...
In your case, theVERSIONwill show1instead of two. If there are multiple distros installed on your system, those will be listed as well. To upgrade your Linux distro from WSL1 to WSL2, use the following command. wsl --set-version Ubuntu-20.04 2 ...
How to import and export WSL distros on Windows 10: [ATTACH] [ATTACH]With Windows 10, Microsoft allows a user to run multiple Linux distros based on WSL or Windows Subsystem for Linux. But when reinstalling or resetting Windows 10, all the configuration stored with these WSL distros gets del...
If you run wsl --install and see the WSL help text, please try running wsl --list --online to see a list of available distros and run wsl --install -d <DistroName> to install a distro. To uninstall WSL, see Uninstall legacy version of WSL or unregister or uninstall a Linux ...
This step won't be relevant to everyone, but if you have installed multiple Linux distros, you should remove them first. This helps to ensure that no files associated with Linux installations remain on your computer when you uninstall WSL. Press Win + I to open the Settings app. Navigate ...