Closed xela-trawets closed 3 months ago
default installation issue
https://learn.microsoft.com/en-us/windows/wsl/basic-commands#check-wsl-version provides the powershell command wsl --version
That results in Invalid command line option: --version On an ubuntu 24,04 install from windows store on a fresh Windows 11
https://learn.microsoft.com/en-us/windows/wsl/basic-commands#set-wsl-version-to-1-or-2
https://github.com/MicrosoftDocs/wsl/blob/main/WSL/basic-commands.md
@craigloewen-msft
ea2f6a7b-28f2-2af8-e8fc-7f7b3624f88a
Solved by wsl --install (I got here trying to fix missing wslg in ubuntu 24.04 from the store).
After wsl --install wsl --version works
Type of issue
default installation issue
Feedback
https://learn.microsoft.com/en-us/windows/wsl/basic-commands#check-wsl-version provides the powershell command wsl --version
That results in Invalid command line option: --version On an ubuntu 24,04 install from windows store on a fresh Windows 11
Page URL
https://learn.microsoft.com/en-us/windows/wsl/basic-commands#set-wsl-version-to-1-or-2
Content source URL
https://github.com/MicrosoftDocs/wsl/blob/main/WSL/basic-commands.md
Author
@craigloewen-msft
Document Id
ea2f6a7b-28f2-2af8-e8fc-7f7b3624f88a