← Package directory
Available on winget

Install Windows Subsystem for Linux

Windows Subsystem for Linux (WSL) is a feature of Windows that allows you to run a Linux environment on your Windows machine, without the need for a separate virtual machine or dual booting.

Install with winget
winget install --id Microsoft.WSL.PreRelease
Upgrade
winget upgrade --id Microsoft.WSL.PreRelease
Uninstall
winget uninstall --id Microsoft.WSL.PreRelease

About Windows Subsystem for Linux

Windows Subsystem for Linux (WSL) is a feature of Windows that allows you to run a Linux environment on your Windows machine, without the need for a separate virtual machine or dual booting. WSL is designed to provide a seamless and productive experience for developers who want to use both Windows and Linux at the same time.

What's new in 2.7.0

## What's Changed - Remove unused LXSS_DISTRO_FLAGS_WSLCORE_MODE by @OneBlue in #13603 - Add logic to handle partial hvsocket writes and additional logging by @OneBlue in #13602 - Update Microsoft.NETCore.App.Runtime packages version with fix for CVE-2025-55248 by @benhillis in #13607 - Update Microsoft.WSL.DeviceHost package to version 1.0.0-20251015.1 by @benhillis in #13606 - Fix edge cases around .vhd support by @benhillis in #13061 - Fix WslDistributionConfig to not default-initialize optional fields by @benhillis in #13629 - Make the sample WSL_POST_BUILD_COMMAND more resilient by @OneBlue in #13652 - wslsettings: allow OOBE window to close with escape key by @benhillis in #13686 - wslsettings: fix OOBE text truncation at 200% text scaling by @benhillis in #13693 - wslsettings: add underlines to links in about page by @benhillis in #13703 - .clang-format: add InsertBraces: true and minor fix to FormatSource.ps1 by @benhillis in #13712 - wslsettings: ensure selected setting is auto-expanded and selected by @benhillis in #13689 - build: fix minor compiler errors when building with VS2026 by @benhillis in #13744 - Mask systemd-networkd-wait-online.service during boot by @OneBlue in #13611 - deps: update a number of NuGet packages to the latest available versions by @benhillis in #13728 - Add *.slnx to .gitignore by @OneBlue in #13754 - Fix service crash when collecting a linux crash dump when maxCrashDumpCount is set to 0 by @OneBlue in #13755 - cleanup: VirtioNetworking refactoring by @benhillis in #13760 - cleanup: switch from Microsoft::WRL::ComPtr to wil::com_ptr by...

Read release notes

Version history

Version Updated Notes
2.7.0 Unknown ## What's Changed - Remove unused LXSS_DISTRO_FLAGS_WSLCORE_MODE by @OneBlue in #13603 - Add logic to handle partial hvsocket writes and additional logging by @OneBlue in #13602 - Update Microsoft.NETCore.App.Runtime pac...
2.6.2 Unknown ## What's Changed - Add comprehensive GitHub Copilot instructions for WSL development by @Copilot in #13352 - wslg: update to latest version which uses wslinfo --vm-id instead of env var by @benhillis in #13361 - Remove...