Skip to content

Instantly share code, notes, and snippets.

@slinkardbrandon
Created February 22, 2023 02:32
Show Gist options
  • Save slinkardbrandon/b27a292b0f3f9f8b6e06c41c1a4acb95 to your computer and use it in GitHub Desktop.
Save slinkardbrandon/b27a292b0f3f9f8b6e06c41c1a4acb95 to your computer and use it in GitHub Desktop.
Enable and Set up WSL

Run these Commands in an Elevated Terminal

Any time I set up a windows machine for development I run into this weird nonsense

  1. dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  2. dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
  3. wsl --install Ubuntu-22.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment