Welcome to the WSL2 documentation! If you are using WSL2 on Windows, you are in the right place to find resources, tutorials, and best practices.
安装和配置
WSL2 (Windows Subsystem for Linux, version 2) is a compatibility layer developed by Microsoft that enables you to run a GNU/Linux environment natively on Windows 10 and Windows 11.
- 安装步骤: 如何安装 WSL2
- 配置指南: 配置 WSL2 环境
使用示例
Here are some common commands you might use in WSL2:
- List directories:
ls
- Change directories:
cd
- Create a file:
touch file.txt
- Edit a file:
nano file.txt
Linux command line in WSL2