Set a default Linux distribution on Windows

Set a default distribution

The default WSL distribution is the one that runs when you run wsl on

a command line.



wsl -s <DistributionName>, wsl --setdefault <DistributionName>



Sets the default distribution to <DistributionName>.



Versions Earlier than Windows 10 Version 1903

WSL Config (wslconfig.exe) is a command-line tool for managing Linux

distributions running on the Windows Subsystem for Linux (WSL).

Comments