Windows Subsystem Linux 2 (WSL) - Up and Running

1 minutes to read

This is a private post 🤫

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
a cheeky butt

Sign up for the newsletter

Want to keep up to date with what I'm working on?

Important dev related content, directly to your inbox (for free).

I care about the protection of your data. Read my Privacy Policy.