
At a glance
- stars on GitHub
- 34k
- contributors
- 146+
- last commit
- latest release, 3 weeks ago
- 3.0.5
- license
- MIT
About
WSL runs Linux distributions such as Ubuntu or Debian directly on Windows 10 and 11, without dual booting and without setting up a virtual machine yourself. WSL 2 runs a real Linux kernel in a lightweight managed VM, so Linux shells, compilers and package managers work unchanged, and since version 3.0 the wslc command also builds and runs Linux containers.
From the repository: “Windows Subsystem for Linux”
What is WSL used for?
WSL is mainly used by developers who work on Windows but need Linux tools: Bash, Git, compilers, package managers such as apt, and servers and databases that run best on Linux. You can open a Linux terminal, or run a Linux command straight from PowerShell (for example wsl npm init). VS Code can open a project that lives inside WSL and run its tools there. Microsoft's setup guide also covers GPU acceleration, databases and mounting external drives. WSL is not a full Linux desktop: it is a Linux environment that runs next to your Windows apps.
What is the difference between WSL 1 and WSL 2?
WSL 2 is the default for new installs. It runs a real Linux kernel, built by Microsoft and updated with Windows, inside a lightweight managed VM, which gives full system call compatibility and faster file operations inside Linux, such as git clone or npm install. WSL 1 translates Linux calls without a VM. Microsoft's own comparison says WSL 1 is still faster when you mostly work on files stored on the Windows drive, so it can suit projects that must stay in the Windows file system. You can switch a distribution with wsl --set-version.
What are WSL containers (wslc)?
WSL containers became generally available with WSL 3.0 in September 2026. The wslc command (also available as container) builds, runs and manages Linux containers directly on Windows, and an API lets Windows apps start containers from code. Companies can control the feature through Microsoft Intune, including a list of allowed image registries, and Microsoft Defender for Endpoint can watch container activity. VS Code dev containers can use wslc as their driver. Compose files are not supported yet: Microsoft calls compose support its top feature request and says it is working on it.
What are the alternatives to WSL?
None of the projects in our catalog does the same job yet. The closest choices depend on what you need. For a full, separate Linux machine, use a virtual machine or a dual boot. Canonical's Multipass creates and manages Ubuntu virtual machines on Windows, macOS and Linux. For containers only, Podman (in our catalog) is a daemonless container engine, and Podman Desktop and Rancher Desktop are graphical apps for containers and Kubernetes. MSYS2 offers Unix-style tools and packages built for Windows itself, without running Linux. Multipass, Podman Desktop, Rancher Desktop and MSYS2 are not in our catalog yet.
What are the known problems with WSL?
Some of the most upvoted open issues are years old. The virtual disk does not give free space back to Windows automatically. Reading Windows files from Linux under /mnt is much slower in WSL 2 than in WSL 1. WSL 2 can use a lot of memory and not return it quickly. Linux apps are not notified when Windows apps change files on the Windows drive. Direct access to USB devices is limited. Microsoft says it is working on networking and cross-system file performance, and reports that wslc reads Windows files up to twice as fast.
Is WSL open source and free?
Yes. WSL is free with Windows, and the code in this repository is under the MIT license. The Linux kernel used by WSL 2 and the support for Linux GUI apps (WSLg) live in separate Microsoft repositories, and the user documentation is also open. WSL logs basic diagnostic data (telemetry) that is sent to Microsoft; the repository's privacy notes describe what is collected and how to turn it off. If you build a modified version, Microsoft's trademark rules say it must not cause confusion or suggest that Microsoft sponsors it.
Why it's in the catalog
The easiest way for a Windows user to get a real Linux shell and toolchain, and now Linux containers, without leaving Windows. Keep project files inside the Linux file system, because access to Windows drives is slower in WSL 2. If you need direct access to USB devices or want to run Linux on real hardware, a full virtual machine or a dual boot still fits better.
Get it
wsl --install
wsl --list --online wsl --install -d Debian
wsl --update
Downloads
All releases on GitHub ↗Latest release: 3.0.5, . Its files were downloaded 1,600,979 times.
All files (4)
Windows
- Microsoft.WSL_3.0.5.0_x64_ARM64.msixbundle679 MB · 613k downloads
- wsl.3.0.5.0.arm64.msi326 MB · 16k downloads
- wsl.3.0.5.0.x64.msi351 MB · 971k downloads
Other files
- Microsoft.WSL.Containers.3.0.5.nupkg4.4 MB · 992 downloads
These files come from the project's GitHub release. DigGitHub does not check them.
