Skip to content

Instantly share code, notes, and snippets.

@simonholm
Last active February 8, 2021 21:07
Show Gist options
  • Save simonholm/3aa292fa5efd05d5cd05adf5430031ed to your computer and use it in GitHub Desktop.
Save simonholm/3aa292fa5efd05d5cd05adf5430031ed to your computer and use it in GitHub Desktop.
note to self: distro installation, wsl install command from windows 10 preview build 20246
# https://ubuntu.com/blog/new-installation-options-coming-for-ubuntu-wsl
# https://devblogs.microsoft.com/commandline/distro-installation-added-to-wsl-install-in-windows-10-insiders-preview-build-20246/
# https://docs.microsoft.com/en-us/windows/wsl/install-win10
wsl --install -d <distros>
# alternative wsl.exe --install -d <distros>
wsl --list --online
#neh you disto version to wsl1 or wsl2
wsl --list --verbose
wsl --set-version <distribution name> <versionNumber>
wsl --set-default-version 2
# how to unregister a disto
# https://docs.microsoft.com/en-us/windows/wsl/wsl-config
wsl --unregister <DistributionName>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment