Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Latest commit

 

History

History
33 lines (22 loc) · 673 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 673 Bytes

WSL

Return to top README.md

List of commands

To check what distributions of WSL are installed

wsl --list --verbose

Expect to see Ubuntu on the list. If not... go install it. If you have Docker installed, that may add two distributions.

To set a default distribution

wsl --set-default <distribution name>

To launch a specific distribution

wsl --distribution <distribution name>

Can use optional --user option

Once you run this and a WSL terminal opens up, you may not be in the home directory, so may be good idea to run

cd ~