Windows Subsystem for Linux is a tool that allows you to install a Linux distribution on a Windows 10 or Windows 11 computer, allowing you to run certain Linux tools without rebooting or launching a traditional virtual machine.
It’s been around in one form or another since 2016, but the current version, known as WSL 2, debuted in 2019 and has been considered a “preview” ever since. It is now moving to stable status with the release of WSL 2 version 1.0.0.
This means that it is generally accessible to the public. I mean, it used to be, but now it’s considered stable enough that you won’t see any preview warnings anymore.
There are many ways to install WSL. You can:
After that, you can install Ubuntu, Debian, Kali, OpenSUSE, or a variety of other operating systems to run Linux command line applications and commands on a Windows PC.
Advanced users can also take advantage of WSLg (Windows Subsystem for Linux GUI), which enables support for applications with a graphical user interface. In other words, you can install desktop Linux apps and run them natively on a Windows computer. But Microsoft recommends installing graphics drivers to enable a virtual GPU for WSL if you plan to do so. You can find instructions in the WSLg documentation on GitHub.
via Hacker News