Microsoft today officially made its Windows Subsystem for Linux (WSL) open-source. That’s right—the code that lets you run a full-fledged Linux environment right inside Windows is now freely available on GitHub for anyone to tinker with, improve, or even expand. For a feature that’s been around for nearly a decade, this is a huge milestone, and it’s one that developers have been clamoring for since WSL first debuted in 2016.
Microsoft’s journey with WSL has been anything but straightforward. Launched as part of the Windows 10 Anniversary Update in 2016, WSL was initially a niche tool aimed at developers who wanted to run Linux commands, tools, and scripts without leaving the comfort of their Windows desktop. Back then, it was a bit of a Frankenstein’s monster—built on a “pico process provider” called lxcore.sys, which allowed Windows to run Linux executables natively by implementing Linux system calls inside the Windows kernel. It was a clever hack, but it had limitations.
As Pierre Boulay, a senior software engineer at Microsoft, explained in a recent announcement, “Over time, it became clear that the best way to provide optimal compatibility with native Linux was to rely on the Linux kernel itself.” This realization led to the creation of WSL 2 in 2019, a major overhaul that introduced a lightweight virtual machine running a real Linux kernel. WSL 2 brought better performance, full system call compatibility, and eventually features like GPU support for machine learning and graphical applications.
But even as WSL evolved, one question kept popping up in Microsoft’s GitHub issues: “Will this be open-source?” For years, the answer was a polite dodge. The WSL community contributed ideas, bug reports, and feature requests, but they couldn’t touch the actual source code. That all changed with Microsoft’s latest move, which closes that long-standing GitHub issue with a resounding “Yes.”
So, why did it take Microsoft nearly a decade to open-source WSL? According to Pavan Davuluri, Windows chief at Microsoft, it wasn’t for lack of desire—it was about getting the technical ducks in a row. “It has been a consistent request from the developer community for some time now,” Davuluri said in a statement to The Verge. “It took us a little bit of time because we needed to refactor the operating system to allow WSL to live in a standalone capacity.”
That refactoring was no small feat. Over the years, Microsoft has gradually untangled WSL from the core Windows codebase. By 2021, WSL had its own separate codebase, allowing it to ship updates independently of Windows releases. The latest Windows 11 24H2 update cemented this shift, moving WSL to a standalone package rather than a baked-in OS component. This decoupling was the final piece of the puzzle, enabling Microsoft to release the WSL source code without exposing sensitive parts of Windows itself.
The result? As of today, the WSL code is live on GitHub, ready for developers to download, build, and hack on. Whether you’re fixing bugs, optimizing performance, or dreaming up new features, the doors are wide open.
What’s in it for developers?
For the uninitiated, WSL is a godsend for developers who need to work across Windows and Linux ecosystems. Imagine running Bash scripts, compiling code with gcc, or managing Docker containers—all without dual-booting, setting up a virtual machine, or leaving your Windows environment. WSL makes this possible by providing a seamless bridge between the two operating systems.
Now that WSL is open-source, the possibilities are even bigger. Here’s what developers can expect:
- Community-driven improvements: With access to the source code, developers can directly contribute fixes and optimizations. Want WSL to run faster? Integrate better with your favorite Linux distro? Now you can roll up your sleeves and make it happen.
- New features: The open-source model thrives on innovation. We could see community-driven additions like deeper integration with Linux services, enhanced support for specific workloads, or even experimental features Microsoft hasn’t prioritized.
- Transparency and trust: Open-source software is inherently more transparent. Developers can see exactly how WSL works under the hood, which is a big deal for those who rely on it for critical projects.
Davuluri is optimistic about the community’s role. “I’m expecting that developers will use the open-source project to help improve WSL performance or for more integration into Linux services,” he said. Given the passion of the WSL community—evidenced by thousands of GitHub issues and discussions over the years—that expectation seems well-founded.
To understand the significance of open-sourcing WSL, you have to zoom out and look at Microsoft’s broader relationship with Linux. Once upon a time, Microsoft and Linux were mortal enemies. Former CEO Steve Ballmer famously called Linux “a cancer” in 2001, reflecting the company’s view of open-source software as a threat to its proprietary empire.
Fast forward to 2025, and the story couldn’t be more different. Under Satya Nadella’s leadership, Microsoft has embraced Linux and open-source software with open arms. The company is a major contributor to the Linux kernel, offers Azure Linux as a container host, and even ships a Microsoft-built Linux distro for its edge devices. WSL itself is a love letter to developers who want the best of both worlds—Windows’ polish and Linux’s power.
Open-sourcing WSL is the latest chapter in this transformation. It’s not just about giving developers what they want; it’s about positioning Windows as the ultimate developer platform. “Our goal is quite simple: we want Windows to be a great dev box for developers,” Davuluri said. “That’s really the ambition.”
Microsoft, for its part, isn’t stepping back. The company plans to actively maintain the WSL repository, ingesting community contributions into the official Windows pipeline. This collaborative approach could accelerate WSL’s evolution, making it an even more indispensable tool for developers.
There’s also the question of how this move will ripple across the broader tech landscape. Competitors like Apple (with its Unix-based macOS) and Canonical (the company behind Ubuntu) may feel pressure to up their game in the developer tools space. Meanwhile, Linux purists who’ve long viewed WSL with skepticism might find the open-source model a reason to give it a second look.
Microsoft’s decision to open-source WSL is a win for developers, a nod to the power of community, and a testament to how far the company has come in its embrace of Linux. For the millions of developers who rely on WSL to bridge the gap between Windows and Linux, this is an invitation to shape the future of a tool that’s already changed the game.
If you’re a developer, head over to the WSL GitHub repository and start exploring. If you’re not, well, you might just notice your techie friends getting a little more excited about their Windows machines. Either way, this is one of those rare tech stories that feels like a genuine step forward—for Microsoft, for Linux, and for the developers who make the digital world go round.
Discover more from GadgetBond
Subscribe to get the latest posts sent to your email.
