WSL 开启命令
更新 wsl,失败可去 github 下载官方 wsl 版本
wsl.exe --update安装子系统、虚拟机平台、HyperV 以及自动启动
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V /all /norestart
bcdedit /set hypervisorlaunchtype auto
shutdown /r /t 0
