Skip Navigation

Scott Spence

Windows Subsystem Linux 2 (WSL) - Up and Running

1 min read
Hey! Thanks for stopping by! Just a word of warning, this post is 6 years old, wow! If there's technical information in here it's more than likely out of date.

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

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

Then

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

Restart

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

There's a reactions leaderboard you can check out too.

Sign up for the newsletter

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

Join other developers and sign up for the newsletter.

I care about the protection of your data. Read the Privacy Policy for more info.

Copyright © 2017 - 2026 - All rights reserved Scott Spence