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 fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 1,337 times.
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.
Steps
Expert Q&A
Video
Tips
References
- ↑ https://learn.microsoft.com/en-us/windows/wsl/basic-commands
- ↑ https://learn.microsoft.com/en-us/windows/wsl/basic-commands
- ↑ https://learn.microsoft.com/en-us/windows/wsl/basic-commands
- ↑ https://learn.microsoft.com/en-us/windows/wsl/basic-commands
- ↑ https://learn.microsoft.com/en-us/windows/wsl/basic-commands







