Windows

How to Check Windows Subsystem for Linux Version

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

If you want to check WSL version details on your computer, the fastest way is to use the command wsl -l -v. This guide explains how to identify your current version, why it matters, and how to upgrade to the faster WSL 2.

Why check your WSL version?

The Windows Subsystem for Linux (WSL) lets you run Linux tools inside Windows. There are two main versions. WSL 1 is the older version. WSL 2 is the newer, faster version. It uses a real Linux kernel. Knowing your version helps you decide if you need an upgrade for better performance.

What happens when done?

After following these steps, you will see a list of your installed Linux distributions. You will see their status and their version number. This confirms if you are using the latest technology.

Steps to check your WSL version

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

  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

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

💻Code
wsl --list --verbose

You can also use this shorter version:

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

You should see output that looks like this:

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

Understanding WSL 2 vs WSL 1

WSL 1 translates Linux commands into Windows commands. WSL 2 runs a full Linux kernel. This makes WSL 2 much faster for file operations. It also supports all Linux apps. If you use Docker Desktop, WSL 2 is required for the best performance.

How to upgrade to WSL 2

If you see a 1 in the version column, you should upgrade. First, update your kernel. Run this command as an administrator:

💻Code
wsl --update

Then, set your distribution to version 2:

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

Replace <distro-name> with the name shown in your list. You can find the official Microsoft WSL installation guide here.

Summary

  • 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.

Why does my WSL version show as 1?

Your WSL version shows as 1 because it was likely installed before WSL 2 became the default. WSL 1 uses a compatibility layer, while WSL 2 uses a virtualized Linux kernel. You can manually upgrade any existing distribution to version 2 using the wsl –set-version command in your terminal.

How to check if WSL 2 is supported on my Windows build?

WSL 2 requires Windows 10 version 1903 or higher, or Windows 11. You can check your version by pressing the Windows key + R, typing winver, and pressing Enter. If your build number is 18362 or higher, your system supports the requirements for running WSL 2 effectively.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips 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