shell WSL commands

# nstall 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: Thursday 9th October 2025, 23:00am

There are 0 comments

Leave a comment of your own

Comments are currently closed.