{"id":6261,"date":"2020-10-29T10:06:27","date_gmt":"2020-10-29T17:06:27","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/commandline\/?p=6261"},"modified":"2020-10-29T10:06:27","modified_gmt":"2020-10-29T17:06:27","slug":"distro-installation-added-to-wsl-install-in-windows-10-insiders-preview-build-20246","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/distro-installation-added-to-wsl-install-in-windows-10-insiders-preview-build-20246\/","title":{"rendered":"Distro installation added to WSL &#8211;install in Windows 10 insiders preview build 20246"},"content":{"rendered":"<p>We&#8217;ve added automatic distro installation to <code>wsl --install<\/code> in <a href=\"https:\/\/blogs.windows.com\/windows-insider\/2020\/10\/29\/announcing-windows-10-insider-preview-build-20246\/\">Windows 10 insiders preview build 20246<\/a>! This means that installing WSL is now easier than ever, as now when you run <code>wsl --install<\/code> all the necessary components that you need for WSL will be automatically enabled, including your specific Linux distro of choice.<\/p>\n<h2>How to use this new feature<\/h2>\n<p>We announced that our goal with this feature is to make installing WSL as easily as possible back in <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/the-windows-subsystem-for-linux-build-2020-summary\/#wsl-install\">BUILD 2020<\/a>. 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: <code>wsl --install<\/code>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wslinstall.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wslinstall.png\" alt=\"WSL install\" width=\"1084\" height=\"654\" class=\"aligncenter size-full wp-image-6262\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wslinstall.png 1084w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wslinstall-300x181.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wslinstall-1024x618.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wslinstall-768x463.png 768w\" sizes=\"(max-width: 1084px) 100vw, 1084px\" \/><\/a><\/p>\n<p>We&#8217;ve also added some additional features to wsl.exe to help with this. By default when you run <code>wsl --install<\/code> without any additional parameters, you&#8217;ll install <a href=\"https:\/\/www.microsoft.com\/p\/ubuntu\/9nblggh4msv6\">Ubuntu<\/a>. You can also install any distribution of your choice by running <code>wsl --install -d &lt;Distro&gt;<\/code>. You can see a full list of distros available by running <code>wsl --list --online<\/code>. For example, I could install Debian by running <code>wsl --install -d Debian<\/code>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wsllistonline.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wsllistonline.png\" alt=\"WSL list online\" width=\"1119\" height=\"669\" class=\"aligncenter size-full wp-image-6263\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wsllistonline.png 1119w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wsllistonline-300x179.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wsllistonline-1024x612.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/10\/wsllistonline-768x459.png 768w\" sizes=\"(max-width: 1119px) 100vw, 1119px\" \/><\/a><\/p>\n<h2>Tell us your feedback<\/h2>\n<p>As always, you can find <a href=\"https:\/\/twitter.com\/craigaloewen\">me @craigaloewen<\/a> and <a href=\"https:\/\/twitter.com\/i\/lists\/1131397802204864512\/members\">WSL team members<\/a> on Twitter if you&#8217;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 <a href=\"https:\/\/github.com\/microsoft\/wsl\/issues\">WSL repo in Github<\/a>. We&#8217;d love to hear what you think about this new experience, and whether you have any suggestions for other options you&#8217;d like to see!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve added automatic distro installation to wsl &#8211;install in Windows 10 insiders preview build 20246! This means that installing WSL is now easier than ever, as now when you run wsl &#8211;install all the necessary components that you need for WSL will be automatically enabled, including your specific Linux distro of choice. How to use [&hellip;]<\/p>\n","protected":false},"author":2191,"featured_media":6262,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,9],"tags":[],"class_list":["post-6261","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-commandline","category-bash-on-ubuntu-on-windows"],"acf":[],"blog_post_summary":"<p>We&#8217;ve added automatic distro installation to wsl &#8211;install in Windows 10 insiders preview build 20246! This means that installing WSL is now easier than ever, as now when you run wsl &#8211;install all the necessary components that you need for WSL will be automatically enabled, including your specific Linux distro of choice. How to use [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/6261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/users\/2191"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/comments?post=6261"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/6261\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/6262"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=6261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=6261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=6261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}