Distro installation added to WSL –install in Windows 10 insiders preview build 20246

Craig Loewen

Craig

We’ve added automatic distro installation to wsl --install in Windows 10 insiders preview build 20246! This means that installing WSL is now easier than ever, as now when you run wsl --install all the necessary components that you need for WSL will be automatically enabled, including your specific Linux distro of choice.

How to use this new feature

We announced that our goal with this feature is to make installing WSL as easily as possible back in BUILD 2020. With automatic distro installation, you can now have a full WSL install on your machine in a matter of minutes just by running one command: wsl --install.

WSL install

We’ve also added some additional features to wsl.exe to help with this. By default when you run wsl --install without any additional parameters, you’ll install Ubuntu. You can also install any distribution of your choice by running wsl --install -d <Distro>. You can see a full list of distros available by running wsl --list --online. For example, I could install Debian by running wsl --install -d Debian.

WSL list online

Tell us your feedback

As always, you can find me @craigaloewen and WSL team members on Twitter if you’d like to keep up to date with WSL news there. If you run into any issues, or have technical feedback and feature requests for our team please file an issue on our WSL repo in Github. We’d love to hear what you think about this new experience, and whether you have any suggestions for other options you’d like to see!

10 comments

Leave a comment