How to view WSL Linux distros to install on Windows 11

Here's the command to see all the Linux distros available for download and install on WSL.

WSL list distros to install command
WSL list distros to install command

On the Windows Subsystem for Linux (WSL), you can view all the available Linux distributions you can download and install on Windows 11, and in this guide, you will learn how. 

Although you may know the Linux distro in question, you may still need to know the exact name and version to download and install it on your computer, and this is an easy task using the WSL command-line tool.

This guide will teach you the steps to create a list of all the Linux distros you can download and install from the Microsoft Store on WSL.

List Linux distros available to install on WSL

To see all of the WSL Linux distros you can download and install on Windows 11, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to view the Linux distros available you can download and install and press Enter:

    wsl --list --online

    WSL list online command

    Quick tip: You can also write the command as wsl -l –online.
  4. (Optional) Type the following command to install the latest Ubunut distro and press Enter:

    wsl --install -d Ubuntu-22.04

Once you complete the steps, the command will output the distros name and friendly names as well as the versions available. 

If you use the WSL --install command without any arguments, the system will download and install the latest version of Ubuntu.

This guide focuses on Windows 11, but you can use the commands on Windows 10 as well.

About the author

Mauro Huculak is a Windows How-To Expert and founder of (est. 2010). With over 21 years as a technology writer and IT Specialist, Mauro specializes in Windows, software, and cross-platform systems such as Linux, Android, and macOS.

Certifications: Microsoft Certified Solutions Associate (MCSA), Cisco Certified Network Professional (CCNP), VMware Certified Professional (VCP), and CompTIA A+ and Network+.

Mauro is a recognized Microsoft MVP and has also been a long-time contributor to Windows Central.

You can follow him on YouTube, Threads, BlueSky, X (Twitter), LinkedIn and About.me. Email him at [email protected].