Skip to content
Follow
Windows

How to Check Windows Subsystem for Linux Version

Richard
Written by
Richard
Dec 23, 2021 Updated Sep 15, 2026 3 min read
How to Enable or Disable Closing Warnings in Windows Terminal
How to Enable or Disable Closing Warnings in Windows Terminal

The Windows Subsystem for Linux (WSL) is a built-in Windows 10 and 11 feature that lets you run Linux tools right next to your normal Windows apps. Checking your WSL version takes only a few seconds and shows if your system runs version 1 or version 2.

Advertisement

Version 2 uses a real Linux kernel and runs much faster than the older version. You just need to run a quick command in PowerShell to see your current version number and check if you need to update.

⚡ Quick Answer

Open PowerShell or Command Prompt as administrator and run the command `wsl -l -v`. This will display a list of your installed Linux distributions and their corresponding WSL version numbers. You will see either version 1 or version 2.

Advertisement

Why check your WSL version?

Checking your WSL version reveals whether you are running the legacy WSL 1 or the faster WSL 2, which includes a full Linux kernel.

What happens when done?

Running the command displays your installed Linux distributions, along with their status and version number. This confirms which environment currently handles your Linux workloads.

Steps to check your WSL version

You can check WSL version details by running a simple command in PowerShell or Command Prompt. Open the Start menu , search for PowerShell, and run it as an administrator. Type wsl -l -v and press Enter to see which version of Windows Subsystem for Linux is currently installed on your computer.

  1. Click the Start menu.
  2. Search for PowerShell or Command Prompt.
  3. Right-click the result and select Run as administrator.
Running Windows PowerShell as administrator to check WSL version settings
windows 11 powershell run as administrator

Open PowerShell or Command Prompt, type the following command, and press Enter:

Advertisement
💻Code
wsl --list --verbose

A shorter version is also available:

💻Code
wsl -l -v
Command Prompt terminal displaying WSL version status for Linux distributions
windows subsystem for linux version check

The output displays your installed distributions and their version numbers:

💻Code
  NAME      STATE           VERSION
* Ubuntu    Running         2
  Debian    Stopped         1

Understanding WSL 2 vs WSL 1

Legacy WSL 1 translates system calls into Windows commands on the fly. WSL 2, by contrast, operates with a real Linux kernel inside a lightweight utility virtual machine. This architectural shift accelerates file operations and guarantees full system call compatibility. Container software like Docker Desktop requires WSL 2 to function correctly.

How to upgrade to WSL 2

You can upgrade to WSL 2 to get much faster file speeds and full system compatibility for your Linux tools. Open PowerShell as an administrator, run the wsl --update command to get the latest files, and then use the set-version command to switch your installed Linux distributions over to the newer architecture.

Advertisement
💻Code
wsl --update

Then, set your distribution to version 2:

💻Code
wsl --set-version <distro-name> 2

Substitute <distro-name> with the name appearing in your terminal list. Consult the official Microsoft WSL installation guide for advanced configuration options.

Summary

Checking your Windows Subsystem for Linux version takes just a few seconds using the terminal. You can run wsl -l -v to view your current setup and use wsl --update to keep everything running smoothly. Upgrading to version two gives you the best performance for running Linux tools and Docker directly on your PC.
  • WSL allows you to run Linux tools directly inside Windows.
  • Use wsl -l -v in an administrator terminal to check your version.
  • WSL 2 is faster and recommended for most users, especially for Docker Desktop.
  • Always run wsl --update to keep your kernel current.
  • Upgrading is simple using the wsl --set-version command.

Was this guide helpful?

Tags: #Windows 11
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 Install Windows Subsystem for Linux (WSL) on Windows 11
Ubuntu Linux How to Install Windows Subsystem for Linux (WSL) on Windows 11
How to Update WSL Kernel on Windows 11
Ubuntu Linux How to Update WSL Kernel on 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 *