So I have installed WSL as soon as it was available in the production ring of Windows 10. It is nice/epic etc. you should try it yourself. I used it Format a large XML file fast so that I could actually read it. That was a year ago. So it has been around now for a while.
Not only can you run a half-dozen Linuxes natively on Windows 10, you can ALSO *pipe stuff between Windows/PowerShell and any Linux command natively! pic.twitter.com/FMZEndXPHY— Scott Hanselman (@shanselman) April 18, 2018
Scott tweeted that you can pipe '|' stuff between windows/powershell and linux commands! But in the screenshot there was this "wslconfig /list" command. It listed “Legacy (Default)” for me…
Everytime a software developer says “legacy” they should wash their mouth. So I had to remove it!
Scott pointed me to this article about updating the WSL. But I did not want to update it, because I have the latest from the store. That article is also a year old by the way.
So the command you are looking for in case you have a legacy WSL as default is “
lxrun /uninstall /full /y”
Today (19th of April 2018) there are several options in the store:
|openSUSE Leap 42||https://www.microsoft.com/store/productId/9NJVJTS82TJX|
|SUSE Linux Enterprise Server 12||https://www.microsoft.com/store/productId/9P32MWBH6CNS|
Try some and enjoy!