Image

wsl

Cheatsheet

Commands cheatsheet

1 min read
Last update: November 28, 2021
wsl --help

Displays general information about the status of the Windows Subsystem for Linux installation.

wsl --status

List distro

List distro available

wsl --list --online

List installed distro

wsl --list --verbose

Update

Update WSL

wsl --update

Rolls back to the previous WSL kernel version.

wsl --update rollback

Delete distribution

Here for example to delete Ubuntu distribution

wsl --unregister Ubuntu

Tips

To open file explorer of distro files

explorer.exe .