A preview of WSL in the Microsoft Store is now available!

Craig Loewen

The Windows Subsystem for Linux (WSL) preview is now available in the Microsoft Store as a store application for Windows 11 machines! Installing WSL through the store will allow you to get the latest WSL updates and features faster, and without needing to modify your Windows version. Read on to see how that’s possible and what this means for WSL!

Is this a new version of WSL?

This is the exact same WSL that you know and love, all that we’ve changed is where it gets installed and updated from. We’ve created this as an initial preview to help ensure quality before making this generally available.

Why would you want to install WSL from the Microsoft Store?

There are two big reasons to be excited for this change: You can get access to WSL features faster, and you don’t have to worry about changing your Windows version when getting the latest WSL updates.

Traditionally, WSL has been installed as an optional component inside of Windows. This means that you would go to the “Turn Windows Features on or off” dialogue to enable it, requiring you to restart your machine. The actual binaries that make up WSL’s logic in that optional component are part of the Windows image, and are serviced and updated as part of Windows itself.

This change moves those binaries from being part of the Windows image, to instead being part of an application that you install from the Store. This decouples WSL from your Windows version, allowing you to update through the Microsoft Store instead. So now once new features like GUI app support, GPU compute, and Linux file system drive mounting are developed, tested and ready for a release you will get access to it right away on your machine without needing to update your entire Windows OS, or going to Windows Insider preview builds.

We’ve already added in some new features that can be found in this preview such as:

  • WSLg is now bundled as part of the WSL app!
  • New wsl.exe --mount features!
    • Add --mount --vhd to make mounting VHD files easier.
    • Implement filesystem detection for wsl --mount. This change implements filesystem type detection if no --type is specified when using wsl.exe --mount.
    • Add --name feature to wsl --mount. This change adds support for optionally naming a mountpoint when mounting a disk through WSL.
  • Updated Linux kernel to 5.10.60.1
  • Added progress indicator helper function used to show a Please Wait message with animated dots on the conversion process to show users that WSL is still running.
  • Switched wsl --install to not require the --distribution argument. This change switches wsl --install to not require the --distribution argument but maintains support to avoid breaking existing scripts.
  • Added wsl.exe --version command which displays relevant version information

You can find our up to date changelog of improvements here on the WSL docs.

How to install and use WSL in the Microsoft Store

First make sure you have these pre-requisites:

  • Are using a Windows 11 build or higher (Windows build number 22000 or higher)
  • Have the Virtual Machine Platform optional component enabled
    • You can do this by running: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all in an elevated PowerShell prompt

Click on this link to go the WSL store page and click Install to install WSL, and then you can install a Linux distro of your choice to start using it.

Frequently Asked Questions (FAQ)

Can I install WSL from the Microsoft Store if I already have WSL installed?

Yes! If you already have the in-Windows version of WSL installed, then you can install the WSL preview from the Store as well. These are both able to be installed on your machine simultaneously, and you will still have access to all of your exact same WSL distros. The WSL store version will always take precedence, so when it’s installed on your machine then that’s the version of WSL that you’ll be interacting with.

Can I use WSL 1 distros with the Store version?

Yes you’ll be able to use WSL 1 distros with this as well, but you’ll need to make sure that the “Windows Subsystem for Linux” optional component is enabled. This is because the actual driver that powers WSL 1 distributions is staying inside of that Windows optional component, as it is tightly coupled to the Windows version. Our future goals on the team are to improve WSL 2 distros to be the best WSL experience by addressing some of the areas where users prefer WSL 1 distros, and having the Microsoft Store version of WSL installed will allow you to see those improvements to WSL 2 distros earliest.

What are the future plans for WSL in the Windows image?

Our goals are to make WSL in the Microsoft Store the best way to install and use WSL, as you’ll be able to get the latest updates fastest through that route, and in the long term we’d like to move WSL users to use the store version. However, in Windows 11 we are still supporting the inbox version of WSL as we keep developing WSL in the store. This means that if you’re using the inbox version you are still supported, and the WSL optional component is still present inside of Windows 11. We are going to be data driven, and will be using your feedback from this preview to help inform us for our future decisions with WSL in the Windows image in upcoming releases.

How do I uninstall WSL from the Microsoft Store and go back to the in Windows version?

If you have WSL from the Microsoft Store installed, and would like to return back to the in Windows version you can follow these steps:

  • Search for “Windows Subsystem for Linux” in the start menu, right click on the application and click “Uninstall” to uninstall the store version
  • Ensure the “Windows Subsystem for Linux” optional component is turned on, see this step of the install docs for details

After completing these steps you’ll be back to using the in-Windows version of WSL

Are there any known issues with this first version?

Here is the initial list of known issues that exist in this first release of WSL from the Microsoft Store:

  • Unable to start wsl.exe from a Session 0 prompt which users can run into when trying to start WSL from an ssh session
  • The “Linux” option in File Explorer is not shown

What else is new for WSL in Windows 11?

Last but not least, with the release of Windows 11 we’d like to highlight some new WSL features that are now generally available:

Send us your feedback!

For any technical issues please file them on the Microsoft/WSL Github repo. We’d love to hear what you think about this change! You can follow up with WSL team members, or with me on Twitter. Lastly, learn more about WSL, including how to set up common development tools like Git, VS Code, Docker containers, databases, GPU acceleration for machine learning, and more, by visiting the WSL documentation. Thank you WSL fans!

18 comments

Discussion is closed. Login to edit/delete existing comments.

  • Tony Henrique 0

    This is awesome! I will install it right now!

  • Benjamin Wagener 1

    Yes, it’s available for you, if Microsoft hasn’t decided to ditch the support for your perfectly fine hardware without a reasonable need. Otherwise, you must stay with Windows 10 and no further noteworthy upgrades for WSL. Thank you, Microsoft, for announcing the last version of Windows and ending it with planned obsolescence.

  • adrianghc 0

    If you uninstall WSL’s optional component, Linux disappears from the sidebar in Explorer even if the Store version is installed.

  • Paulo Pinto 0

    Given that my computer, working perfectly fine, isn’t worthy of Windows 11, it is back to VMWare for me.

  • Oleg Butorov 0

    That’s awesome and super convenient, thx! Are there any extra steps involved to safely remove the initial Win ver of WSL and just stick with the MS store one?

  • Kenneth Benson 0

    Was looking at all the new tsuff for #WSL2 and #WSLg… looks great! But… living on limited means leaves me unable to play because I have no way to afford a Win 11 pc. maybe I can get someone to donate one.

  • Nikolay Baklicharov 0

    @CraigLoewen Will this be backported to Windows 10? Lots of people will be unable to migrate to Windows 11 due to the hardware requirements.

    • 俊 孙 0

      I don’t think it’s possible

  • Steve Foxover 0

    I see in release notes
    – Enable additional USB kernel configuration options for interacting with an Arduino over USB
    – Enable USB over IP support

    @CraigLoewen Is there anything I need to do manually to allow Linux to see a usb device like the NVidia Jetson Xavier. Would love to use Windows 11 as our default OS, but need to be able to flash over usb from Linux.
    running this command shows this below but not the attached devices?
    lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  • Ernest Wilcox 0

    I have Windows 11 on my new Laptop. After reading this item, I went to the Microsoft Store (in Windows 11) and installed the wsl2 preview. I added the Debian OS package, then tried installing gedit. I was able to run gedit from within my wsl2 environment, so I took things a bit farther. I also installed Aisleriot, a Linux Klondike Solitaire game. It also runs just fine! My next steps will be to install mono (aka mono-complete) or see if there is another .NET programming environment for Linux, and try that out. I’ll either use gedit, or VS Code for Linux to write any code I want to develop. The fact that I can run a graphical editor within wsl2 is a real game changer! Even though many people are angered that MS set such stringent minimum system requirements for Windows 11, and I question whether the updated wsl2 preview will be released for Windows 10 (although I see no valid reason why this cannot happen), I am very glad they released this preview. It shows me what may soon be possible right here on my humble PC!

    My2Cents,

    Ernie

  • Alparslan Ozturk 0

    There is a big problem with WSL. WSL use hyper-v but I cannot change Natnet or ip range of VM. and I have lots of problem about it.
    please give a options about change ip range of WSL network.

Feedback usabilla icon