Skip to content

Setup

参考文档

Windows Subsystem for Linux 文档

WSL

命令

列出可用的 Linux 发行版

bash
wsl -l -o

列出已安装的 Linux 发行版

bash
wsl -l -v

安装指定的 Linux 发行版

bash
wsl --install -d Debian

手动安装指定的 Linux 发行版

bash
wsl --install --name Debian --from-file .\Downloads\Debian_WSL_AMD64_v1.22.0.0.wsl

注销或卸载 Linux 发行版

bash
wsl --unregister Debian