- 1 year ago
How to check which build of WSL2 am I running?
To check which build of WSL2 you are running, you can use the following steps:
Open the PowerShell: Press the Windows key, type "PowerShell," and open the PowerShell application.
Run the command: In the PowerShell window, enter the following command and press Enter:
powershellwsl --list --verbose
This command lists all the installed WSL distributions and provides detailed information about them.
Check the "Version" column: In the output, look for the distribution you are interested in, and check the value under the "Version" column. The version number will indicate whether you are running WSL1 or WSL2.
- If the version is listed as "2," then you are running WSL2.
- If the version is listed as "1," then you are running WSL1.
Additionally, you can also use the wsl --set-version <distribution-name> <version-number>
command to convert a WSL distribution between WSL1 and WSL2. Replace <distribution-name>
with the name of the specific distribution, and <version-number>
with either "1" or "2" to set the desired version.
By following these steps, you can easily check which build of WSL2 you are running on your Windows system.