Table of Contents

Windows Subsystem for Linux

Enable WSL

  1. Open
     appwiz.cpl 
  2. In the left panel use Turn Windows Features On or Off
  3. Check HyperV
  4. Check Windows Subsystem for Linux

Install a distro

There are two options

Install from Microsoft Store

Install through command line

Switch to WSL2

After you have installed a distro, if you want to convert it to WSL2 use the following command

 wsl --set-version <distro name> 2 

For example

 wsl --set-version ubuntu 2