Files
nexus/wiki/sources/install-wsl.md
2026-04-18 16:02:38 +08:00

40 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Install WSL"
type: source
tags: []
date: 2026-04-18
---
## Source File
- [[raw/Home Office/Install WSL.md]]
## 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 LinuxWindows 上的 Linux 兼容层
- [[WSL2]]WSL 第二版,架构升级版,共享 Windows 内核
- [[Windows Terminal]]:微软官方终端应用,推荐用于管理多个 Linux 发行版
- [[PowerShell]]Windows 自动化和配置管理框架
## Key Entities
- [[Microsoft]]WSL 开发公司Windows 操作系统厂商
## Connections
- [[WSL2]] ← extends ← [[WSL]]
- [[Windows Terminal]] ← manages ← [[WSL]]
- [[Ubuntu]] ← default_distro ← [[WSL]]
## Contradictions