Administrator
Administrator
发布于 2025-08-05 / 4 阅读
0
0

Windows启用WSL子系统

仅支持win10 1903以上或Win 11

管理员身份运行PowerShell,然后执行

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

启用必要功能。

重启电脑,进入BIOS,找到CPU相关设置并开启Intel VT-x

到Microsoft Store中搜索并下载安装Ubuntu

启动Ubuntu

开始菜单中搜索Ubuntu并启动

或者

wsl -d Ubuntu


评论