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.

  • Jared Lane 0

    Is this only for Windows 11 users? If so, compared to Win11…
    Will there consistently be delays for stuff like this, for W10 users? (latest stable or PR builds)

    • Kristoffer 0

      Yes, only for Win 11.

  • Anuj Chokshi 0

    This is an excellent news! While trying this out on a win11 machine, I am getting this error after Installing WSL — “The operation timed out because a response was not received from the virtual machine or container.” . No luck after trying –shutdown and rebooted the device as well. any idea what might be going on?

  • おかの 0

    I think when you use wsl, windows itself will also run virtualized, but does that mean that the store version of wsl will not virtualize windows itself?

  • Michael Angelozzi 0

    “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.”
    But you must update to Windows 11, so you can install WSL updates without requiring windows updates. Yes big advantage.

  • Chuck Markiewicz 0

    Hello Craig, I have managed to get a GUI with Kali in Windows 10 (Feature Version 20H2, OS Build 19042.1288). But I have repeatedly failed at getting a GUI going in Ubuntu or Debian. There are many web sites with instructions, but all have failed me so far.

    So is there any solid reason to hold back WSLg from us Windows 10 non-Insiders? If there is, would you at least consider writing up an article teaching us how to get a GUI working for Ubuntu and Debian in WSL version 2? From reading the comments (and some corrections) on many of these web sites, I am far from the only one having this issue. Thank you!

    Chuck

  • Farrukh Fida 0

    Can we use WSL2 in Windows server 2022? as I have tried but WSL is not switching to wsl2 and I have to use hyper vm to use docker desktop. Any suggestion that could help to fix this issue and i can run docker desktop with WSL2 support on windows server 2022.

Feedback usabilla icon