Windows

How to Verify Windows Subsystem for Linux Version

Richard
Written by
Richard
Dec 23, 2021 Updated Apr 15, 2026 2 min read

This guide helps you check which version of the Windows Subsystem of Linux (WSL) Windows Subsystem for Linux (WSL) you are currently using on your computer.

Why check your WSL version?

There are two versions of WSL. WSL2 is the newer, faster version that works better with Linux apps. Knowing your version helps you understand if you can run the latest tools or if you need to update your system.

What happens when done?

After following these steps, you will see a list in your terminal window confirming which version of WSL is active on your machine.

Steps to check your WSL version

Note: You must have administrative access to perform these steps.

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

Once the Command Prompt window is open, type the following command and press Enter:

💻Code
wsl.exe --list --verbose

You can also use this shorter version:

💻Code
wsl.exe -l -v
Command Prompt terminal displaying WSL version status for Linux distributions

If the result shows 2, you are running WSL2. If you see an error or no version number, you are likely running the older WSL1.

Summary

  • WSL allows you to run Linux tools directly inside Windows.
  • There are two main versions: WSL1 and the faster, more compatible WSL2.
  • Use the wsl.exe -l -v command in an administrator Command Prompt to see your current version.
  • Keeping WSL updated ensures you have the best performance.

How do I check which version of WSL I have installed?

You can check your WSL version by opening Command Prompt as an administrator and typing the command 'wsl.exe --list --verbose' or the shorter version 'wsl.exe -l -v'. This will display the version of WSL currently running on your system.

What is the difference between WSL1 and WSL2?

WSL1 is the original version that allows running Linux command-line tools, while WSL2 offers improved performance, full system call compatibility, and a new architecture. WSL2 is generally recommended for better functionality and speed.

Why does my command return an error when checking WSL version?

If the command returns an error or no value, it likely means you are running WSL1, as the commands to check the version were introduced in WSL2. You may need to upgrade to WSL2 for these commands to work.

Can I run WSL2 on any version of Windows?

WSL2 requires Windows 10 version 1903 or higher, or Windows 11. If your system is older or incompatible, you will only be able to use WSL1.

How can I upgrade from WSL1 to WSL2?

To upgrade from WSL1 to WSL2, you need to ensure your Windows version is compatible, then run the command 'wsl --set-version 2' in Command Prompt, replacing with the name of your Linux distribution. Follow the prompts to complete the upgrade.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Leave a Reply

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

Exit mobile version