1.4 KiB
1.4 KiB
title, type, tags, date
| title | type | tags | date |
|---|---|---|---|
| Install WSL | source | 2026-04-18 |
Source File
Summary
- 核心主题:在 Windows 上安装 Linux 子系统(WSL)
- 问题域:Windows 开发环境配置、Linux on Windows
- 方法/机制:使用
wsl --install一键安装命令,PowerShell 管理员模式执行 - 结论/价值:开发者可在 Windows 上同时使用 Windows 和 Linux 环境,无需传统虚拟机或双系统
Key Claims
- Windows 10 2004+ 或 Windows 11 可直接使用
wsl --install一键安装 - 默认安装 Ubuntu 可用
-d参数指定其他发行版 - 新安装默认使用 WSL 2,可通过命令升级或降级到 WSL 1
- 支持多个 Linux 发行版并行运行,可通过 Windows Terminal 管理
Key Quotes
"wsl --install" — 微软官方一键安装命令
Key Concepts
- WSL:Windows Subsystem for Linux,Windows 上的 Linux 兼容层
- WSL2:WSL 第二版,架构升级版,共享 Windows 内核
- Windows Terminal:微软官方终端应用,推荐用于管理多个 Linux 发行版
- PowerShell:Windows 自动化和配置管理框架
Key Entities
- Microsoft:WSL 开发公司,Windows 操作系统厂商