Skip to content

Instantly share code, notes, and snippets.

@backroot
Created April 3, 2022 03:29
Show Gist options
  • Save backroot/54fdcda1e318b18fcf31b9c4ce282ab5 to your computer and use it in GitHub Desktop.
Save backroot/54fdcda1e318b18fcf31b9c4ce282ab5 to your computer and use it in GitHub Desktop.
Enable WSL 2
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment