# Windows Subsystem for Linux Cheat-Sheet ## list available distros `wsl --list --online` ## list installed distros `wsl --list --verbose` ## install a specific disto `wsl --install --distribution ` ## set default version `wsl --set-default-version ` ## start wsl in home directory `wsl ~` ## update default version to latest version `wsl --update` ## see general information about install `wsl --status` ## check version `wsl --version` ## run as a specific user `wsl --user ` ## terminate (stop) all running distros `wsl --shutdown` ## terminate a specific distro `wsl --terminate ` ## export a snapshot of a distro to a file, defaults to tar format `wsl --export ` ## import a snapshot tar file `wsl --import ` ## unregister and uninstall a wsl distro `wsl --unregister ` ## mount a disk or device `wsl --mount ` ## unmount a disk or device `wsl --unmount `