Windows Subsystem for Linux (WSL) is a feature that allows you to run Linux applications and commands on Windows 10/11 computers. Currently, WSL has two versions, i.e., WSL1 and WSL2. WSL1 is based on a translation layer that converts Linux system calls to Windows ones, while WSL2 is based on a lightweight virtual machine that runs a real Linux kernel. WSL2 has many advantages over WSL1, such as faster performance, full system call compatibility, and support for Docker containers. However, some users may prefer WSL1 for certain scenarios, such as better integration with the Windows file system and network. Hence, to know which version of WSL you have installed on your Windows 10 desktop, this guide will help you.
You can check the WSL version of all the installed Linux Distribution on your Windows 10 desktop by following these steps:
wsl –list –verbose
wsl -l -v
NAME STATE VERSION
*Ubuntu-20.04 Running 2
Debian Stopped 1
To change the WSL version of a specific Linux distribution, follow these steps:
wsl –set-version <distribution name> <version number>
wsl –set-version Debian 2
To set the default WSL version for all future installations, you can run the following command on your elevated Command Prompt or Windows PowerShell:
wsl –set-default-version <version number>
In the above command, make sure to replace <version number> with the version number you want to set as the default WSL version. For example, if you want to set your WSL version to 2, you can type:
wsl –set-default-version 2
That’s everything covered on how to check the WSL version on your Windows 10 desktop. Also, check out our other guides, such as How to install Microsoft Teams on Linux or How to install Linux on Chromebook.
In this guide, we'll explore the cost of skins in CS2, what determines their prices,…
The history of the UK is interconnected with the tale of bookmaking, reflecting the rich…
What are Arrowhead Game Studios plan to release Helldivers 2 on Xbox? Here are some…
Here is the formula on how to find Median of a dataset in Microsoft Excel.
Here's the list of all the FF7 Rebirth trophies including the Platinum trophy.
Here's how to redeem all the demo rewards and bonuses in Final Fantasy 7 Rebirth.