Free | No tracking | Every fact with a source|German and English

WSL 2 (Windows Subsystem for Linux)

Real Linux directly in Windows, for AI programs that run better on Linux or only run there.

For advanced usersInstallation is easyOpen Source
By
Microsoft
Use
Command line
Price
free
License
MIT
Version
3.0.3 (Oct 9, 2026)

What is WSL 2 (Windows Subsystem for Linux)?

With WSL 2, a Linux distribution like Ubuntu runs directly in Windows, without dual boot. Many AI projects are developed for Linux first, and this lets you use them on your Windows PC too. Docker Desktop uses WSL 2 underneath. You mainly work in the terminal, so it is more for advanced users.

For you if an AI guide is written only for Linux or you want to use Docker.

Strengths

  • Install with a single command
  • Linux guides usually work right away
  • NVIDIA GPU can be used in WSL 2
  • Foundation for Docker Desktop

Weaknesses

  • Operated almost entirely through the command line
  • Extra storage space for the Linux environment
  • File access between Windows and Linux can be cumbersome

Does it run on your system?

Operating systemHardware
WindowsyesNVIDIAyes
LinuxnoAMDunclear
macOSnoIntel Arcunclear
Apple (M chips)no
processor onlyyes

According to Docker docs, NVIDIA GPUs can be used in WSL 2 via GPU paravirtualization (current driver and `wsl --update` required). We have not tested this with AMD or Intel.

Installation

Open PowerShell as administrator, type `wsl --install`, and restart. By default, Ubuntu is installed as WSL 2; you need Windows 10 version 2004 or later, or Windows 11.

Official site Source code

Download programs only from the official site or the official repository.

License

MIT

The WSL repository is under the MIT license; the installed Linux distribution is subject to its own licenses.

The program license is something different from the model licenses you use in it. Whether you may sell results depends on the model; see Licenses. Not legal advice.

Alternatives

Known errors and solutions

Sources

Checked on Oct 21, 2026. Questions about WSL 2 (Windows Subsystem for Linux)? Ask in the forum.