The ability to view the Linux distros available through WSL can come in handy in many scenarios. For example, when you want to know all the distros at your disposal, want to see if you have a specific version of Linux installed, or need the exact name of a distro to uninstall it.
Whatever the reason it might, the WSL command tool can generate a list of installed Linux distros on Windows 11.
This guide will teach you the steps to view every Linux distro available through the Windows Subsystem for Linux.
List all Linux distros installed on WSL
To see all of the WSL Linux distros installed on Windows 11, use these steps:
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to see a list of the installed Linux distros and press Enter:
wsl --list --allQuick tip: You can also write the command as wsl -l –all.
(Optional) Type the following command to view a list of running distros and press Enter:
wsl --list --runningQuick tip: You can also write the command as wsl -l –running.
Once you complete the steps, the command will output the distros installed (and running) on Windows 11.
This guide focuses on Windows 11, but you can use the commands on Windows 10 as well.