PDF download Download Article
See which version of Windows Subsystem for Linux is installed
PDF download Download Article

WSL (Windows Subsystem for Linux) allows you to run a Linux environment on your Windows 10 or 11 computer. Since WSL 2 is far more functional than WSL 1, it can be helpful to know which version you have installed. In this article, we’ll explain which commands to use to check your WSL version, as well as how to set the version if you have multiple distributions installed. We’ll also offer troubleshooting tips if you’re having problems getting these commands to work.

Commands to Check WSL Version

  • Check the full version number for WSL 2 with wsl --version.
  • List all installed versions (including WSL 1) with wsl --list --verbose or wsl -l -v.
  • Check your distribution information within the Linux terminal with uname -a.
Section 1 of 2:

Checking WSL Version with Commands

PDF download Download Article
  1. If you’re pretty sure you’re running WSL 2 and want the exact version number, open PowerShell or the Windows Command Prompt and enter wsl --version.[1]
    • If you have WSL 2 installed, you should see the full version number on the WSL Version line (e.g., “WSL Version: 2.6.3”).
    • If you just see command options instead of a version number, that means you either have WSL 1 or WSL is not installed at all.
  2. This command will show all versions of WSL that you have installed on your computer, including WSL 1 (the number shows up under the heading “VERSION”). It will also show you the current status of each version (e.g., “running” vs.
    Advertisement
  3. 3
    “stopped”).[2]
    • If you just see command options instead of a list of distributions, it means WSL is not installed on your computer at all.
    • You can display only the currently running distribution(s) using the command wsl -l -v --running.
  4. If you’re in the Linux terminal, run the command uname -a to see information about your current distribution. If you see the component “-microsoft-standard-WSL2” in the kernel name, you are using WSL 2. If not, you are using WSL 1.
  5. This command is helpful if you have more than one version of WSL installed. You’ll need to replace <distribution name> and <versionNumber> with the appropriate information for the version of WSL installed on your PC.[3]
    • Switching WSL versions can sometimes cause issues, such as data loss. Back up your files before changing from one version to another.
  6. Advertisement
Section 2 of 2:

Troubleshooting

PDF download Download Article
  1. If the commands described in the section above aren’t returning any information about your version of WSL, it could be that WSL was never installed properly on your computer. Try running the command wsl --install.[4]
    • To install a specific distribution, use the command wsl --install <Distribution Name>.
    • You can look up available distributions using the command wsl --list --online.
  2. If you’re pretty sure WSL is installed but you’re still running into problems running these commands, updating to the latest version of WSL can sometimes resolve this issue. To do so, run the command wsl --update.
  3. WSL 2 can only run on Windows 11 or Windows 10, Version 1903, Build 18362 or later.[5] Consider upgrading to Windows 11, or update to the latest available version of Windows 10.
  4. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Delete Windows.Old3 Easy Ways to Remove Windows.old from Any PC
Install Software on Linux Install Software on Linux: Packages, Compiling, & More
Find out How Long Your Computer Has Been On Find out How Long Your Computer Has Been On
Install Game Maker Studio on LinuxInstall GameMaker Studio 2 on Ubuntu Linux: Setup Guide
Update Your Computer's BIOS Update the BIOS on a Windows Computer
Sudo Command Not Found2 Ways to Fix the "Sudo Command Not Found" Error on Linux
Set up a Wireless Network in Linux Set Up a Wireless Network in Linux: Terminal & GUI
Check if a Port Is Opened Check If a Port is Open on Any Computer
Restart Services in Linux Restart Services in Linux (& What Commands to Use)
Update Java Update or Download Java on PC, Mac, or Linux
Move from Windows to Linux Switch from Microsoft Windows to Linux
Install Windows 10 on a MacInstall Windows 10 on a Mac
Use LinuxUse Linux
Change the User Interface Language of LibreOffice Change the Interface Language in LibreOffice
Advertisement

About This Article

Stan Kats
Reviewed by:
Professional Technologist
This article was reviewed by Stan Kats and by wikiHow staff writer, Megaera Lorenz, PhD. Stan Kats is a Professional Technologist and the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan holds a BA in International Relations from The University of Southern California. He began his career working in the Fortune 500 IT world. Stan founded his companies to offer an enterprise-level of expertise for small businesses and individuals. This article has been viewed 1,337 times.
How helpful is this?
Co-authors: 2
Updated: April 20, 2026
Views: 1,337
Categories: Linux
Thanks to all authors for creating a page that has been read 1,337 times.

Is this article up to date?

Advertisement