Skip to content
Get Started With Windows Subsystem For Linux

Get Started With Windows Subsystem For Linux

learn.microsoft.com • November 23, 2026

Access to this page requires authorization. You can try signing in or changing directories .

Access to this page requires authorization. You can try changing directories .

Windows Subsystem for Linux (WSL) is a feature of Windows that allows you to run a Linux environment on your Windows machine, without the need for a separate virtual machine or dual booting. WSL is designed to provide a seamless and productive experience for developers who want to use both Windows and Linux at the same time.

Use WSL to install and run various Linux distributions, such as Ubuntu, Debian, Kali, and more. Install Linux distributions and receive automatic updates from the Microsoft Store , import Linux distributions not available in the Microsoft Store , or build your own custom Linux distribution .

Store files in an isolated Linux file system, specific to the installed distribution.

Run command-line tools, such as BASH.

Run common BASH command-line tools such as grep , sed , awk , or other ELF-64 binaries.

Run Bash scripts and GNU/Linux command-line applications including: Tools: vim, emacs, tmux Languages: NodeJS , JavaScript, Python , Ruby, C/C++, C# & F#, Rust, Go, etc. Services: SSHD, MySQL , Apache, lighttpd, MongoDB , PostgreSQL .

Tools: vim, emacs, tmux

Languages: NodeJS , JavaScript, Python , Ruby, C/C++, C# & F#, Rust, Go, etc.

Services: SSHD, MySQL , Apache, lighttpd, MongoDB , PostgreSQL .

Install additional software using your own GNU/Linux distribution package manager.

Invoke Windows applications using a Unix-like command-line shell.

Invoke GNU/Linux applications on Windows.

Run GNU/Linux graphical applications integrated directly to your Windows desktop

Use your device GPU to accelerate Machine Learning workloads running on Linux.

WSL is an Open Source tool with source code available for download and contributions:

WSL Open Source docs site: wsl.dev

WSL repository on GitHub: github.com/Microsoft/wsl

Get started using WSL:

WSL 2 is the default distro type when installing a Linux distribution. WSL 2 uses virtualization technology to run a Linux kernel inside of a lightweight utility virtual machine (VM). Linux distributions run as isolated containers inside of the WSL 2 managed VM. Linux distributions running via WSL 2 will the same network namespace, device tree (other than /dev/pts ), CPU/Kernel/Memory/Swap, /init binary, but have their own PID namespace, Mount namespace, User namespace, Cgroup namespace, and init process.

Individual Linux distributions can be run with either the WSL 1 or WSL 2 architecture. Each distribution can be upgraded or downgraded at any time and you can run WSL 1 and WSL 2 distributions side by side. See the Set WSL version command .

Microsoft Loves Linux

Windows Subsystem for Linux

Was this page helpful?

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Last updated on 2025-05-21