WSL
in English: Windows Subsystem for Linux
WSL is a built-in Windows feature that allows you to run a full Linux system on your machine without reinstalling or using a separate computer, alongside your usual programs.
In plain terms
WSL is like opening a separate room in your apartment where different rules apply. Windows remains the apartment, but in this room everything operates according to Linux rules, and you can move freely between the two.
It is useful because most developer tools, servers, and AI software were originally built for Linux. With WSL, you can use them without having to give up Windows, Office, or your games.
Previously, this required installing two systems side by side and switching between them with restarts, or running a cumbersome virtual machine. WSL starts in a few seconds, and Linux appears in a normal window, mainly as a command line.
You encounter it often in the AI world because many coding agents and developer tools run most smoothly in a Linux environment. For this reason, installation guides on Windows often recommend WSL, though an increasing number of tools now run directly on Windows.
How it works
- You enable the feature: you install it with a single command (wsl --install) or from the Microsoft Store, and select a Linux variant, such as Ubuntu.
- The current version, WSL 2, runs a lightweight virtual machine in the background containing a real Linux kernel maintained by Microsoft.
- You open a terminal window and issue Linux commands and install programs just as if you were sitting in front of a Linux machine.
- The two systems see each other's files: you can access Windows drives from Linux, and Linux folders from the Windows File Explorer.
- The network is largely shared: a web program running on Linux opens in your Windows browser. With the appropriate driver, you can also use the graphics card to run AI models, but Linux does not see other hardware (such as USB devices) by default.
An everyday example
You want to try a coding agent on your Windows laptop, but the description says it works best under Linux. You type the wsl --install command, restart the machine, and a few minutes later you install and run the agent in an Ubuntu window while Outlook and Excel remain open next to it.
Who is affected
A common misconception
Limits and risks
- WSL is not a security quarantine: programs or agents running there can access your Windows files by default, so only run trusted tools within it.
- If you work in a Windows folder from Linux (or vice versa), file operations are noticeably slower, so it is advisable to keep the project in Linux's native file system.
- The virtual machine running in the background can consume significant memory and storage, causing slowdowns on weaker laptops.
- On a corporate machine, the administrator can disable it, and it is primarily intended for command-line work: it does not replace a full-fledged Linux machine in every situation.
Similar, but not the same
- virtual machine – A traditional virtual machine is an isolated computer running in a separate window. WSL 2 also uses a virtual machine in the background, but it integrates closely with Windows, starts faster, and shares files with it.
- Docker (container) – Docker packages each application into a portable box, while WSL provides a full Linux environment, and on Windows, Docker typically builds on WSL.
- Dual boot – In dual boot, you choose between Windows and Linux by restarting; with WSL, both run simultaneously.
Related concepts
virtualization, operating system, Development environment
WSL 2
Linux, Linux distribution, Terminal, Parancssor, Docker, coding agent
A brief history
Microsoft introduced WSL in 2016, and it appeared in Windows 10 later that same year. In 2019, it announced WSL 2, built on a real Linux kernel, which became generally available in 2020. In 2025, Microsoft open-sourced most of WSL.
Where things stand
At the end of 2026, WSL is an established, free feature of Windows 11 and an everyday tool for Windows developers. It also works on Windows 10, but general support for that version ended in October 2025. It still frequently appears in Windows guides for AI development tools and coding agents, although a growing number of tools now also run directly on Windows.
Also known as
WSL · WSL 2 · WSL2 · Windows Subsystem for Linux · Linuxos Windows-alrendszer · Windows-alrendszer Linuxhoz · Windows Linux-alrendszer
Sources
- Microsoft Learn – What is the Windows Subsystem for Linux?
- Wikipedia – Windows Subsystem for Linux
- GitHub – microsoft/WSL
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.