Skip to content
Follow
Ubuntu Linux Windows

How to Install Windows Subsystem for Linux (WSL) on Windows 11

Richard
Written by
Richard
Apr 23, 2026 Updated Sep 14, 2026 1 min read
Windows 11 and Linux terminals side by side
Windows 11 and Linux terminals side by side

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.

Advertisement

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.

⚡ Quick Answer

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.

Advertisement

Option 1Install via Microsoft Store

  1. Visit the Microsoft Store.
  2. Search for your preferred Linux distribution, such as Ubuntu, Debian, or Kali Linux.
  3. Click Get or Install.
Ubuntu app listing inside the Microsoft Store for WSL installation
Ubuntu Linux install WSL on Windows

Option 2Install via Command Line

  1. Open PowerShell as an administrator.
  2. Run wsl --list --online to see available distributions.
  3. Run wsl --install -d <DistroName> to install a specific one.
Selection of available Linux distributions for Windows Subsystem for Linux
Selection of available Linux distributions for Windows Subsystem for Linux

WSL 1 vs WSL 2

💡TipWSL 1 translates Linux system calls to Windows system calls.

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

⚠️WarningOnce installed, launch the Linux app from your Start menu.

You will be prompted to create a UNIX username and password. This is separate from your Windows account.

Ubuntu app listing inside the Microsoft Store for WSL installation
Ubuntu Linux install WSL on Windows
Ubuntu terminal window running on Windows 11 after WSL installation
Ubuntu terminal window running on Windows 11 after WSL installation

Was this guide helpful?

0% of readers found this helpful (1 votes)

Was this helpful?
Richard

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.

Advertisement

📚 Related Tutorials

How to Reinstall Microsoft Store Apps in Windows 11
Windows How to Reinstall Microsoft Store Apps in Windows 11
How to Manage Microsoft Store App Updates in Windows 11
Windows How to Manage Microsoft Store App Updates in Windows 11
How to Uninstall Windows Subsystem for Linux (WSL) in Windows 11
Ubuntu Linux How to Uninstall Windows Subsystem for Linux (WSL) in Windows 11
How to List Installed WSL Distros on Windows 11
Windows How to List Installed WSL Distros on Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *