{"id":3965,"date":"2018-11-05T11:10:01","date_gmt":"2018-11-05T19:10:01","guid":{"rendered":"http:\/\/blogs.msdn.microsoft.com\/commandline\/?p=3965"},"modified":"2019-02-25T17:04:54","modified_gmt":"2019-02-26T01:04:54","slug":"whats-new-for-wsl-in-the-windows-10-october-2018-update","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/whats-new-for-wsl-in-the-windows-10-october-2018-update\/","title":{"rendered":"What&#8217;s New for WSL in the Windows 10 October 2018 Update"},"content":{"rendered":"<p>On October 2, 2018, Microsoft announced that the\u00a0availability of the** <span><a href=\"https:\/\/blogs.windows.com\/windowsexperience\/?p=168651\">Windows 10 October 2018 Update<\/a><\/span>**. After the update was paused, <a href=\"https:\/\/blogs.windows.com\/windowsexperience\/2018\/11\/13\/resuming-the-rollout-of-the-windows-10-october-2018-update\/#1dx7cPFUjXJqlr4y.97\">the rollout resumed<\/a> on November 13, 2018. You can read more about the Windows 10 quality approach <a href=\"https:\/\/blogs.windows.com\/windowsexperience\/2018\/11\/13\/windows-10-quality-approach-for-a-complex-ecosystem\/#zcA5QAX0bhUSmi6c.97\">here<\/a>. This post, however, will cover what you can expect to see in <strong>WSL for the October 2018 Update<\/strong>, Windows 10 version 1809, and from recent Windows Insiders builds. You can find additional information on features and fixes in our <span><strong><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/release-notes\">detailed release notes<\/a><\/strong><\/span>.<\/p>\n<h2>Additional Linux Distributions now available in the Microsoft Store<\/h2>\n<p>We\u2019re excited to share two additional distros in the Microsoft Store for WSL.<\/p>\n<h3>Ubuntu 18.04<\/h3>\n<p><span><a href=\"https:\/\/www.microsoft.com\/en-us\/store\/p\/ubuntu-1804\/9n9tngvndl3q?rtc=1\">Ubuntu 18.04<\/a><\/span> is now available in the Microsoft Store. You might be wondering about the Ubuntu apps in the Store and how to update your distro. Read this <span><a href=\"https:\/\/blogs.msdn.microsoft.com\/commandline\/2018\/07\/09\/upgrading-ubuntu\/\">Guide to Updating your Ubuntu\u2019s App Release<\/a><\/span> for more details.<\/p>\n<h3>WLinux<\/h3>\n<p>You can now install <span><a href=\"https:\/\/www.microsoft.com\/en-us\/p\/wlinux\/9nv1gv1pxz6p#activetab=pivot:overviewtab\">WLinux<\/a><\/span> from the Microsoft Store. WLinux is the first paid-for distro app available for WSL. It includes features as <span><a href=\"https:\/\/github.com\/WhitewaterFoundry\/WLinux\">outlined on their GitHub repo<\/a><\/span> such as wlinux-setup, which allows users to easily setup common developer toolchains, and removes unsupported features like systemd.<\/p>\n<h3>OpenSUSE 15 and SLES 15<\/h3>\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/p\/opensuse-leap-15\/9n1tb6fpvj8c#activetab=pivot:overviewtab\">OpenSUSE 15<\/a> and <a href=\"https:\/\/www.microsoft.com\/en-us\/p\/suse-linux-enterprise-server-15\/9pmw35d7fnlx\">SLES 15<\/a> are now available in the Microsoft Store. We are happy to have these new versions of SUSE ready for you to install and use!<u><\/u><span style=\"color: #000120\"><\/span><\/p>\n<h2>Run Ubuntu 18.04 on WSL on ARM Devices<\/h2>\n<p>You can now run WSL and Ubuntu 18.04 on ARM devices! If you\u2019re interested in learning more about ARM devices. When you grab Ubuntu 18.04 from the Store we can detect if you\u2019re running an ARM device and automatically grab you the ARM version of the app. Check out our \/\/Build 2018 session on <span><a href=\"https:\/\/channel9.msdn.com\/Events\/Build\/2018\/BRK2438\">Windows 10 for ARM Developers<\/a><\/span> (WSL at 13:58) for more information.<\/p>\n<h2>Notepad Supports Linux Line Endings<\/h2>\n<p>You heard that right \u2013 Kevin Gallo announced in the \/\/Build 2018 keynote that Notepad now supports Linux line endings! More details on how this works can be found in the blog post on <span><a href=\"https:\/\/blogs.msdn.microsoft.com\/commandline\/2018\/05\/08\/extended-eol-in-notepad\/\">Extended Line Endings Support in Notepad<\/a><\/span>. If you\u2019d like to watch the keynote you can find the announcement at about 55:04 in the <span><a href=\"https:\/\/www.youtube.com\/watch?v=rlzZiDgfPz8&#038;feature=youtu.be\">\/\/Build Day 2 Keynote<\/a><\/span>.<\/p>\n<h2>Launch a Linux Shell from the File Explorer<\/h2>\n<p>You can launch a Linux shell from the file explorer. We have added an \u201cOpen Linux shell here\u201d context menu entry to the shell. This has been one of our top <span><a href=\"https:\/\/wpdev.uservoice.com\/forums\/266908-command-prompt-console-windows-subsystem-for-l\/suggestions\/13421103-let-us-right-click-open-bash-here-from-explorer\">User Voice feature asks<\/a><\/span>, so we are happy to finally add this functionality!<\/p>\n<p><img decoding=\"async\" width=\"600\" height=\"182\" class=\"alignnone size-medium wp-image-3105\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/33\/2019\/02\/User-Voice-Ask-600x182.png\" \/><\/p>\n<p>You can do this in the file explorer by selecting a folder and then Shift+Right Click to see the menu:<\/p>\n<p><img decoding=\"async\" width=\"473\" height=\"400\" class=\"alignnone size-medium wp-image-3115\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/33\/2019\/02\/Linux-Shell-600x507.png\" \/><\/p>\n<p>Select the \u201cOpen Linux shell here\u201d option to launch your default WSL distribution directly in that path:<\/p>\n<p><img decoding=\"async\" width=\"600\" height=\"329\" class=\"alignnone size-medium wp-image-3125\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/33\/2019\/02\/launch-shell-600x329.png\" \/><\/p>\n<p>Directions on how you can change your default distro can be found in our <span><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/wsl-config\">distro management documentation<\/a><\/span>. Essentially you can use wslconfig.exe to set a distro as the default.<\/p>\n<h2>Install WSL Distros from the Command Line<\/h2>\n<p>There are a variety of reasons you may want to write a script to install WSL distros from the command line \u2013 Maybe you just got a new machine you want to setup. Or perhaps you want to programmatically define your dev machine without disrupting your command line workflow.<\/p>\n<p>You can use the <a href=\"https:\/\/aka.ms\/devsetup\">Windows Developer Setup Scripts<\/a> to enable WSL (And many other features &amp; tools) and install a distro in one-click. Here\u2019s a sample of how you can do this. The below script should be run in a <strong>PowerShell Administrator terminal<\/strong>.<\/p>\n<p><strong><em>Note \u2013 you can find the manual installation links for the other WSL distros on our <span><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/install-manual\">manual distro installation<\/a><\/span> page<\/em><\/strong><\/p>\n<h3>Enable WSL<\/h3>\n<pre>PS C:\\&gt; Invoke-WebRequest -Uri https:\/\/aka.ms\/wsl-ubuntu-1804 -OutFile ~\/Ubuntu.appx -UseBasicParsing\nPS C:\\&gt; Add-AppxPackage -Path ~\/Ubuntu.appx<\/pre>\n<h3>Install Ubuntu 18.04<\/h3>\n<pre>PS C:\\&gt; RefreshEnv\nPS C:\\&gt; Ubuntu1804 install --root\nPS C:\\&gt; Ubuntu1804 run apt update\nPS C:\\&gt; Ubuntu1804 run apt upgrade -y<\/pre>\n<h2>Dev Box Setup Scripts with Chocolatey and Boxstarter<\/h2>\n<p>At the \/\/Build 2018 Day 2 Keynote, we announced an open source project in partnership with Chocolately and Boxstarter that allows you to set up your dev box in just one click. You can read about this effort in our blog post on <span><a href=\"https:\/\/blogs.msdn.microsoft.com\/commandline\/2018\/05\/08\/join-us-for-a-hot-cup-o-chocolatey\/\">Joining us for a hot cup o Chocolatey!<\/a><\/span>. If you\u2019d like to get started using this project to set up your dev box you can also head over to the <span><a href=\"https:\/\/github.com\/Microsoft\/windows-dev-box-setup-scripts\">Dev Setup GitHub repo<\/a><\/span>.<\/p>\n<h2>Improved Per-Directory Case Sensitivity Support<\/h2>\n<p>In this release of Windows, we\u2019ve made some improvements to case sensitivity support based on customer feedback. Case sensitivity is off by default on new directories created in WSL. It\u2019s also now possible to inspect and modify the case sensitivity flag for a directory from inside WSL. Additionally, case sensitivity is inherited when creating a new directory. You can read more in this blog about <span><a href=\"https:\/\/blogs.msdn.microsoft.com\/commandline\/2018\/06\/14\/improved-per-directory-case-sensitivity-support-in-wsl\/\">case sensitivity support<\/a><\/span>.<\/p>\n<h2>Copy\/Paste Arrives for Linux\/WSL Consoles<\/h2>\n<p>You can now use Crtl+Shift+C\/V for copy\/paste in your console! All you need to do is set this option in your console:<\/p>\n<p><img decoding=\"async\" width=\"357\" height=\"400\" class=\"alignnone size-medium wp-image-2855\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/33\/2019\/02\/copy-paste-536x600.png\" \/><\/p>\n<p>You can read more about this feature in our <span><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/copy-and-paste-arrives-for-linuxwsl-consoles\/\">copy\/paste blog post<\/a><\/span>.<\/p>\n<h2>Console Improvements<\/h2>\n<p>In addition to direct improvements to WSL, we released a series of improvements to the Windows Console. There\u2019ve been some improvements to interop &#8211; you can now host windows applications inside tmux and screen without them destroying the rest of the window! We\u2019ve improved our range of supported VT sequences. And, we also <span><a href=\"https:\/\/na01.safelinks.protection.outlook.com\/?url=https%3A%2F%2Fblogs.msdn.microsoft.com%2Fcommandline%2F2018%2F08%2F02%2Fwindows-command-line-introducing-the-windows-pseudo-console-conpty%2F&#038;data=02%7C01%7Ctaraj%40microsoft.com%7C8c982134ed1440901cef08d62d7c6f3e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636746409818475808&#038;sdata=6cv2ktaZ4iQGkpX5S8YC2CpCR5xUEmcKh%2FA16uMgims%3D&#038;reserved=0\">added a ConPTY API &amp; infrastructure<\/a><\/span> enabling 3<sup>rd<\/sup> parties to build terminals and servers more easily.<\/p>\n<p>If you\u2019d like to learn more about the console in general, check out <span><a href=\"https:\/\/na01.safelinks.protection.outlook.com\/?url=https%3A%2F%2Fblogs.msdn.microsoft.com%2Fcommandline%2F2018%2F06%2F20%2Fwindows-command-line-backgrounder%2F&#038;data=02%7C01%7Ctaraj%40microsoft.com%7C8c982134ed1440901cef08d62d7c6f3e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636746409818475808&#038;sdata=adfGqoqkjIvkM0WWratl1N9jMxZNuk9%2FGSuPOnO9774%3D&#038;reserved=0\">the Windows Command-Line blog series<\/a><\/span> by Rich Turner (<a href=\"https:\/\/twitter.com\/richturn_ms\">@richturn_ms<\/a>).<\/p>\n<h2>Thanks and Feedback<\/h2>\n<p>A huge thank you to everyone who helped make this happen! As usual, please do send us feedback and feel free to reach out on Twitter or file issues on the <span><a href=\"https:\/\/github.com\/microsoft\/WSL\/issues\">WSL GitHub repo<\/a><\/span>. Here are our WSL team members who are on Twitter:<\/p>\n<ul>\n<li>Taylor Brown @Taylorb_msft<\/li>\n<li>Sarah Cooley @VirtualScooley<\/li>\n<li>Yosef Durr @yosefdurr<\/li>\n<li>Sven Groot @svengroot_ms<\/li>\n<li>Ben Hillis @benhillis<\/li>\n<li>Craig Loewen @craigaloewen<\/li>\n<li>Sunil Muthuswamy @SunilMut<\/li>\n<li>Brian Perkins<\/li>\n<li>Tara Raj @tara_msft<\/li>\n<li>Palkesh Soni @sonipalkesh<\/li>\n<li>John Starks @gigastarks<\/li>\n<li>Craig Wilhite @CraigWilhite<\/li>\n<\/ul>\n<p>We look forward to building cool stuff with you!<\/p>\n<p>Sincerely,<\/p>\n<p>The WSL Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On October 2, 2018, Microsoft announced that the\u00a0availability of the** Windows 10 October 2018 Update**. After the update was paused, the rollout resumed on November 13, 2018. You can read more about the Windows 10 quality approach here. This post, however, will cover what you can expect to see in WSL for the October 2018 [&hellip;]<\/p>\n","protected":false},"author":1032,"featured_media":4347,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11,3,5,9],"tags":[29,42,72],"class_list":["post-3965","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-distros","category-linux-tools","category-windows-10","category-bash-on-ubuntu-on-windows","tag-command-line","tag-linux","tag-wsl"],"acf":[],"blog_post_summary":"<p>On October 2, 2018, Microsoft announced that the\u00a0availability of the** Windows 10 October 2018 Update**. After the update was paused, the rollout resumed on November 13, 2018. You can read more about the Windows 10 quality approach here. This post, however, will cover what you can expect to see in WSL for the October 2018 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/3965","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\/1032"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/comments?post=3965"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/3965\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/4347"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=3965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=3965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=3965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}