目前最新的 WSL2 版本是0.58.3。我刚刚运行wsl.exe --update,现在我想知道我正在运行哪个版本的 WSL2。我已经尝试过--version和--status标记都没有成功:
PS C:\Users> wsl.exe --status
Default Distribution: Ubuntu
Default Version: 2
Windows Subsystem for Linux was last updated on 6.5.2022
The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update',
but automatic updates cannot occur due to your system settings.
To receive automatic kernel updates, please enable the Windows Update setting:
'Receive updates for other Microsoft products when you update Windows'.
For more information please …Run Code Online (Sandbox Code Playgroud)