- Commands
- Check installed distros:
wsl -l -v
- Set default wsl version for distros (prior to installing):
wsl --set-default-version 2
- Install Ubuntu 22.04:
wsl --install -d Ubuntu-24.04
- Select a specific distro:
wsl -d <DistributionName>
- Delete a specific distro:
wsl --unregister <DistributionName>
- Check installed distros:
Last active
May 29, 2025 16:07
-
-
Save prerakmody/2c1a341489d75eef13898c3e7f3a19e3 to your computer and use it in GitHub Desktop.
WSL (Windows Subsystem for Linux) Commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment