wsl1与wsl2切换
WSL
Issues found on WSL
项目地址:https://gitcode.com/gh_mirrors/ws/WSL

·
如果已经在windows上装过linux,执行:
C:\WINDOWS\system32>wsl -l -v
NAME STATE VERSION
* Ubuntu Running 1
如果是这样的,说明是wsl1,只需要:
wsl --set-version Ubuntu 2
就可以切换为wsl2,需要几分钟。
用下面命令可以切换回wsl1:
wsl --set-version Ubuntu 1




Issues found on WSL
最近提交(Master分支:5 个月前 )
8c61f09e
* Add super user detection; a powershell approach is used
* use the 'id' command
* avoid stderr warning & wsl alias 4 天前
ae780d11
4 天前
更多推荐
所有评论(0)