要求
- 操作系统: Windows 10 版本 17763.0及以上
- 体系结构: x64
步骤说明
-
打开
Microsoft Store,搜索centos
在Windows10中安装Linux.png 点击获取
安装后,打开
cmd,并输入:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

在Windows10中安装Linux.png
- 重启系统后在
cmd中输入wsl,启动CentOs系统:
在Windows10中安装Linux.png
注意:
- 可以使用
wsl -l查看已安装的适用于 Linux 的 Windows 子系统- 可以使用
wsl -d xxx启动指定的子系统xxx
在Windows10中安装Linux.png


