© Hayden Barnes 2021
H. BarnesPro Windows Subsystem for Linux (WSL)https://doi.org/10.1007/978-1-4842-6873-5_3

3. Managing WSL Distros

Hayden Barnes1  
(1)
Columbus, GA, USA
 

WSL includes a set of command line Linux distribution management tools. This chapter will examine these tools with discussions, examples, and screenshots of each.

Listing All Distros

The names, state, and WSL version number of all installed WSL distros can be listed (Figure 3-1) by opening PowerShell and running
wsl.exe --list --verbose --all
../images/499772_1_En_3_Chapter/499772_1_En_3_Fig1_HTML.jpg
Figure 3-1

Listing all WSL distros installed with their current state and WSL version

Under “NAME,” you will see there are four distributions installed. ...

Get Pro Windows Subsystem for Linux (WSL): Powerful Tools and Practices for Cross-Platform Development and Collaboration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.