However, if you want to use another Linux distribution, WSL includes a command to set any distro as the new default on Windows 10. In this guide, you will learn the steps to make your preferred distro the new default on Windows 10.

Set default Linux distro on WSL2

To set a Linux distro as the default on Windows Subsystem for Linux 2, use these steps: Once you complete the steps, the distro will be set as the new default on Windows 10, so when you run a command like wsl, Kali will run by default (in this case).

In the command, replace DISTRO-NAME with the name of the distro to set it as default (see step 3). For example, this command makes Kali Linux the default distro:

		      All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.