How to Verify Windows Subsystem for Linux Version
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.
- Click the Start menu.
- Search for Command Prompt.
- Right-click the result and select Run as administrator.

Once the Command Prompt window is open, type the following command and press Enter:
wsl.exe --list --verboseYou can also use this shorter version:
wsl.exe -l -v
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 -vcommand 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?
What is the difference between WSL1 and WSL2?
Why does my command return an error when checking WSL version?
Can I run WSL2 on any version of Windows?
How can I upgrade from WSL1 to WSL2?
Was this guide helpful?
Leave a Reply