To list distributions

wsl --list --verbose

Output would look something like this

  NAME                   STATE           VERSION
* Ubuntu                 Running         2
  docker-desktop         Stopped         2
  docker-desktop-data    Stopped         2

The asterisk is the default one. To change the default distribution

wsl -s [NAME OF DISTRIBUTION]

To remove a distribution in case you have 2:

wsl --unregister [NAME OF DISTRIBUTION]

Leave a Reply

Your email address will not be published. Required fields are marked *