Windows 常用命令行

PowerShell 7 安装

使用 winget 安装 PowerShell 7:

1
winget install --id Microsoft.PowerShell -e

安装完成后可通过 pwsh 命令启动 PowerShell 7。