Microsoft on Monday released a preview of Windows Subsystem for Linux (WSL), which is now available in the Microsoft Store as a store application for Windows 11 machines.
For those unaware, WSL is a feature of the Windows operating system that enables you to run a Linux file system, along with Linux command-line tools and GUI apps, directly on Windows, alongside your traditional Windows desktop and apps.
The two biggest highlights of the change are: Users can get access to WSL features faster, and they don’t have to worry about changing their Windows version when getting the latest WSL updates.
“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. 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,” Microsoft’s Craig Loewen writes in the announcement post.
To date, WSL has been installed as an optional component inside of Windows, which means that you need 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,” Craig added.
“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.”
Below are some of the new features in WSL Preview on the Microsoft Store:
- WSLg is now bundled as part of the WSL app!
- New wsl.exe –mountfeatures!
- Add –mount –vhdto make mounting VHD files easier.
- Implement filesystem detection for wsl –mount. This change implements filesystem type detection if no –typeis specified when using wsl.exe –mount.
- Add –namefeature to wsl –mount. This change adds support for optionally naming a mountpoint when mounting a disk through WSL.
- Updated Linux kernel to 184.108.40.206
- 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 –installto not require the –distribution This change switches wsl –install to not require the –distribution argument but maintains support to avoid breaking existing scripts.
- Added wsl.exe –versioncommand which displays relevant version information
How To Install And Use WSL In The Microsoft Store
In order to install and use WSL in the Microsoft Store, you need to be running Windows 11 build or higher (Windows build number 22000 or higher), and have the Virtual Machine Platform optional component enabled:
Run: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all in an elevated PowerShell prompt
If you already have the in-Windows version of WSL installed, then you can install the WSL preview from the Store, too, and run it simultaneously with the version that came with Windows.