How to Install Windows Subsystem for Linux (WSL) on Windows 11
Windows Subsystem for Linux (WSL) lets you run Linux tools and apps directly on Windows 11 without needing a separate virtual machine. WSL 2 uses a real Linux kernel to give you fast speed and full compatibility while you work.
You can set up WSL on your PC with a single command in PowerShell. Before you begin, make sure your computer runs Windows 11 version 2004 or higher and that you have administrator rights.
Open PowerShell as an administrator and run wsl –install. This command automatically enables necessary features and downloads the default Ubuntu distribution. Alternatively, search for your preferred Linux distribution in the Microsoft Store and click Install.
Option 1Install via Microsoft Store
- Visit the Microsoft Store.
- Search for your preferred Linux distribution, such as Ubuntu, Debian, or Kali Linux.
- Click Get or Install.

Option 2Install via Command Line
- Open PowerShell as an administrator.
- Run
wsl --list --onlineto see available distributions. - Run
wsl --install -d <DistroName>to install a specific one.

WSL 1 vs WSL 2
WSL 2 uses a real Linux kernel inside a lightweight virtual machine. WSL 2 is faster and supports full system call compatibility. Most users should choose WSL 2 for better performance.
Post-Installation Setup
You will be prompted to create a UNIX username and password. This is separate from your Windows account.


Was this guide helpful?
0% of readers found this helpful (1 votes)
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!