Windows Subsystem for Linux

Windows Subsystem for Linux

WSL 即 Windows Subsystem for Linux,是 Windows 的 Linux 子系统,本质是在 Windows 上原生运行 Linux 二进制可执行文件(ELF 格式)的兼容层。

WSL 提供了一个由微软开发的 Linux 兼容的内核接口(不包含 Linux 内核代码),然后可以在其上运行 GNU 用户空间,例如 Ubuntu、openSUSE、SUSE Linux Enterprise Server、Debian 和 Kali Linux。这样的用户空间可能包含 Bash shell 和命令语言,使用本机 GNU/Linux 命令行工具(sed,awk等),编程语言解释器(Ruby,Python 等),甚至是图形应用程序(使用主机端的 X 窗口系统)。

https://docs.microsoft.com/zh-cn/windows/wsl