Software >> OS >> Windows >> WSL >> How to get started with Windows Subsystem for Linux

 

Windows 10


## Launch the add remove program control panel applet

Start -> Run -> appwiz.cpl

Select Turn Windows feature on or off

tick the checkbox for Virtual Machine Platform and Windows Subsystem for Linux

Click OK


## Open Powershell with "run as administrator"

## and apply the latest WSL updates

PS > wsl --update


## to set default version to WSL v2

PS > wsl --set-default-version 2


## to list what linux distributions are availbel to install

PS> wsl --list --online


## to install Debian distrbution

PS> wsl --install --distribution Debian

or

PS> wsl --install -d Debian




 

Official Documentation available at https://docs.microsoft.com/en-us/windows/wsl/