shell WSL commands

# install WSL component, then install using:
wsl --install

# specific distro
wsl --install Ubuntu-24.04

# run WSL
wsl

# restart WSL
wsl --shutdown
wsl

# check what is running
wsl -l -v

# specify a distro
wsl --distribution Ubuntu.24.04

# remove a distro
wsl --unregister Ubuntu.24.04
Common commands used for WSL (Windows Subsystem for Linux). Use within Powershell.

Updated: Friday 10th July 2026, 04:04pm

There are 0 comments

Leave a comment of your own

Comments are currently closed.