参考文章:https://learn.microsoft.com/en-us/windows/wsl/install
Developers can access the power of both Windows and Linux
at the same time on a Windows machine.
The Windows Subsystem for Linux (WSL)
lets developers install a Linux distribution (such as Ubuntu, OpenSUSE, Kali, Debian, Arch Linux, etc)
and use Linux applications
, utilities
, and Bash command-line tools
directly on Windows, unmodified
, without the overhead of a traditional virtual machine
or dualboot setup
.
开发者可以在Windows机器上同时访问
Windows
和Linux的强大功能
。
Windows子系统Linux(WSL)
允许开发者安装Linux发行版(如Ubuntu、OpenSUSE、Kali、Debian、Arch Linux等)
并直接在Windows上使用Linux应用程序
,实用程序
和Bash命令行工具
,而无需对其进行修改
,也无需传统虚拟机
或双启动设置
的开销。
Prerequisites - 先决条件
You must be running Windows 10 version 2004 and higher
(Build 19041 and higher
) or Windows 11
to use the commands below.
您必须运行
Windows 10 版本 2004 及更高版本
(版本 19041 及更高版本
)或者Windows 11
才能使用以下命令。