List Installed WSL Distros in Windows 11
In this article
To list installed WSL distros in Windows 11, open Command Prompt, PowerShell, or Windows Terminal and run wsl --list --verbose (or wsl -l -v). This shows every distro you have installed, its current state (running or stopped), and the WSL version it uses. You can also run wsl --list --online to see which distros are available to install.
What You'll Need
- A Windows 11 PC with WSL installed. If you haven't set up WSL yet, run
wsl --installin an elevated terminal first. - Any terminal app: Command Prompt, PowerShell, or Windows Terminal. All work the same for this command.
- No admin rights required for listing distros — a normal user account works fine.
Step-by-Step
- Open your terminal. Press Windows + R, type
cmd,powershell, orwt, and press Enter. Or search for “Terminal” in the Start menu. Any of these works. - Run the list command. Type the following and press Enter:
wsl --list --verbose
You can also use the shorter form:wsl -l -v. Both are identical. - Read the output. The terminal will show a table with columns: NAME, STATE, and VERSION. For example:
NAME STATE VERSION * Ubuntu Running 2 Debian Stopped 2
The asterisk (*) marks your default distro — the one that runs when you just typewsl. - If you want a plain list without details, run
wsl --list(orwsl -l). This prints only the names, one per line, with the default marked by an asterisk. - To see distros available from Microsoft Store, run
wsl --list --online(orwsl -l -o). This shows distros you can install, not what you already have.
Common Mistakes
- Typing the command wrong: Make sure it's
wsl --listwith two dashes before “list”. One dash works too (wsl -l), but mixing them likewsl -listwill fail. - Expecting a GUI: This is a command-line tool. There’s no graphical window; the output appears as text in your terminal.
- Running in the wrong context: The command works from any directory. You don’t need to be inside a WSL session. Run it from Windows, not from inside a distro.
- Confusing “installed” with “running”: The list shows all installed distros, even if they are stopped. A stopped distro still appears in the list.
Tips
- Use
wsl --list --verboseregularly to check which distros are running — this helps you close unused ones to free memory. - To change the default distro, run
wsl --set-default <DistroName>(e.g.,wsl --set-default Ubuntu). - If you have many distros, the output can be long. You can pipe it to
findstrto filter, e.g.,wsl -l -v | findstr Ubuntu. - You can also launch a specific distro directly from Windows by typing its name (e.g.,
Ubuntu) in the Start menu or terminal.
Troubleshooting
If you get “WSL is not installed” or “The term 'wsl' is not recognized”: WSL is not enabled on your system. Open PowerShell as Administrator and run wsl --install. Restart your PC when prompted. After the restart, the command will work.
If the command returns “No installed distributions”: You have WSL enabled but no distros installed. Run wsl --list --online to see options, then install one with wsl --install -d Ubuntu (replace Ubuntu with any distro name).
If the output is empty or the command hangs: Try closing and reopening your terminal. If that fails, restart the WSL service by running wsl --shutdown in an elevated terminal (this stops all WSL processes, but does not delete your distros). Then run the list command again.
If you see an error about a missing “kernel” or “virtual machine platform”: Run wsl --update in an elevated terminal to update WSL to the latest version. Then restart your PC.
Frequently Asked Questions
What is the difference between wsl --list and wsl --list --verbose?
wsl --list shows only the names of installed distros. wsl --list --verbose adds the state (running/stopped) and WSL version (1 or 2).
Can I list distros from within a WSL distro?
Yes, but you need to call the Windows executable. From inside a distro, run wsl.exe --list --verbose (note the .exe). The plain wsl command inside Linux might not work.
How do I know which distro is my default?
In the output of wsl --list --verbose, the default distro is marked with an asterisk (*) next to its name.
Does listing distros require administrator privileges?
No. Any standard user can run wsl --list and see the installed distros.
Can I list distros installed from the Microsoft Store?
Yes. Distros installed from the Store appear in the same list as those installed via the command line. The command shows all WSL distros regardless of installation source.
What does “VERSION” mean in the output?
It tells you whether the distro is running on WSL 1 or WSL 2. WSL 2 is the current default and offers better performance and full system call compatibility. You can convert a distro with wsl --set-version <DistroName> 2.