Scott Spence


Windows Subsystem Linux 2 (WSL) - Up and Running

1 min read
learning guide wsl n node react

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.

Install terminal

Run terminal as admin

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


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


Set WSL 2 as default

wsl --set-default-version 2

Install Ubuntu

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

Set the version of WSL

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