ScottSpence.com

Scott's Digital Garden.

🤫This is a private post👀

Windows Subsystem Linux 2 (WSL) - Up and Running

Now that Windows Subsystem Linux has finally arrived I think it’s time to refresh my notes on it from the last post I did back at the end of 2018.

https://docs.microsoft.com/en-gb/windows/wsl/install-win10

https://docs.microsoft.com/en-gb/windows/wsl/wsl2-kernel

Install terminal

Run terminal as admin

1dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Then

1dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Restart

Set WSL 2 as default

1wsl --set-default-version 2

Install Ubuntu

1# see what version of WSL is running
2wsl -l -v

Set the version of WSL

1wsl --set-version Ubuntu 2
2# set it to default with
3wsl --set-default-version 2

Back to Top