Created
August 8, 2021 16:00
-
-
Save SomajitDey/e7d260a5ce807856d7f2cad3a6657f61 to your computer and use it in GitHub Desktop.
How to enable WSL2 in Win10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Open "Turn Windows Features On or Off" | |
| Check "Windows Subsystem for Linux" & "Virtual Machine Platform" | |
| Restart | |
| 2. Install "https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi" | |
| [Ref: https://docs.microsoft.com/en-us/windows/wsl/install-win10#manual-installation-steps] | |
| 3. In cmd.exe or PowerShell: wsl --set-default-version 2 | |
| 4. Install Linux distribution of choice from MS store or if to upgrade existing distro from WSL1 to WSL2: | |
| List existing distros (cmd.exe): wsl --list | |
| Say this shows Ubuntu (default) | |
| To upgrade Ubuntu from WSL1 to WSL2: | |
| wsl --set-version Ubuntu 2 | |
| This might take a lot of time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment