Set Your Default Linux Distribution on Windows 10
To view your installed Linux distributions, type the following command and hit Enter:
wslconfig /l
The Linux distribution ending with "(Default)" is your default Linux distribution.
wslconfig /l
The Linux distribution ending with "(Default)" is your default Linux distribution.
To set your default Linux distribution, run the following command, where Name is the name of the Linux distribution:
wslconfig /setdefault Name
For example, to set Ubuntu as your default Linux distribution, run the following command:
wslconfig /setdefault Ubuntu
wslconfig /setdefault Name
For example, to set Ubuntu as your default Linux distribution, run the following command:
wslconfig /setdefault Ubuntu
Comments
Post a Comment