Forrest logo
back to the wsl tool

wsl:tldr:a21c4

wsl: List available distributions.
$ wsl --list
try on your machine

The command "wsl --list" is used to list all the available distributions (also known as "distros") installed on Windows Subsystem for Linux (WSL).

WSL is a compatibility layer that enables running a Linux environment, including command-line tools and applications, directly on a Windows operating system. It allows users to choose and install various Linux distributions from the Microsoft Store or by downloading the distribution's installation package manually.

Running "wsl --list" will display a list of installed Linux distributions along with their status. The status can be one of the following:

  • "Running": Indicates that the distribution is currently running.
  • "Stopped": Indicates that the distribution is installed but not currently running.
  • "Terminated": Indicates that the distribution was running but has been terminated.

The command provides useful information like the name of the distributions, versions, and their respective statuses, allowing users to manage and interact with the different Linux environments available on their Windows machine.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the wsl tool