Wsl

From wikinotes

Windows-Subsystem-For-Linux lets you run a linux kernel on top of a windows system.
WSL-1 uses a translation layer (like cygwin/msys) for system calls.

This documentation pertains to WSL-1, see wsl2 for latest version.


Locations

\\wsl$ (from windows) directory with all distro root filesystems
/mnt/??? (from linux) windows filesystem

Install

choco install -y wsl
choco install -y wsl-archlinux # or another distro

Usage

wsl -l  # list installed distros