提示:在继续阅读之前,请注意此文章最后更新于 1629 天前,其中的部分内容可能已经无效或过时。
安装wsl2
前置条件:
- 更新windows到2004: https://go.microsoft.com/fwlink/?LinkID=799445
- 启用wsl2
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart