0
What’s the powershell command for the WSL version? I’ve tried: wsl --list --verbose does not list anything (Windows 10 version 1909)
0
What’s the powershell command for the WSL version? I’ve tried: wsl --list --verbose does not list anything (Windows 10 version 1909)
-1
wsl -l -v
if you type wsl -
terminal will show the list of available commands
Browser other questions tagged linux windows
You are not signed in. Login or sign up in order to post.
Open the powershell and type
wsl -l -v
if error occurs you are using wsl1. In wsl2 the command works and displays the current version of Ws. l– Augusto Vasques
Returned: Copyright (c) Microsoft Corporation. All rights reserved. Usage: wsl.exe [Argument] [Options...] [Commandline] Arguments to run Linux binaries: If no command line is provided, wsl.exe will start the default shell. -exec, -e <Commandline> Execute the specified command without using the standard Linux shell. - Keep the rest of the command line as is. Options: --Distribution, -d <Distributionname> Run the specified distribution. -user, -u <Username> Execute as you use
– Pinheiro Neto
How to upgrade to version 2
– Pinheiro Neto
Ask that question on Super User which is another website of our network specializing in Software Operation. Here our community specializes in Programming Languages. Detail, there in Super User the question should be asked in English.
– Augusto Vasques
I did a google search and saw that future system update ( Windows 10 2004 ) will upgrade to WSL 2, for now I will use the same as my system does not update to Insider.
– Pinheiro Neto