In this post, we will show you how to view all the available for install WSL Linux distributions using the WSL command-line.
With the WSL July 2021 update, we can fully manage WSL directly from the command line, including WSL distributions available online for installation.
Before the July 2021 update, we had to visit the Microsoft Store and find which Linux distributions were available for download and installation.
To list all the WSL distributions, Open a PowerShell console and run the following command.
wsl --list --online
To install one of the distributions, run the command below with the distribution’s name you would like to install.
wsl --install -d Debian