This commit is contained in:
陆柯 2022-07-24 11:57:46 +08:00
parent 9d9ce4617e
commit e19be3d88a

13
wsl-install.bat Normal file
View File

@ -0,0 +1,13 @@
echo Enable [Windows Subsystem for Linux] feature
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
echo Enable [Virtual Machinese Platform] feature
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
echo Download https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
wsl --set-default-version 2
wsl --update
wsl --shutdown
wsl --list --online
wsl --install -d Debian