- PowerShell版本大于5.0
$psversiontable.psversion.major
- PowerShell执行策略
set-executionpolicy remotesigned -scope currentuser
- 安装Scoop
iwr -useb https://gitee.com/glsnames/scoop-installer/raw/master/bin/install.ps1 | iex
- 常见命令使用
更新:scoop update
搜索:scoop search xxx
安装:scoop install xxx,指定版本:scoop install xxx@1.0
卸载:scoop uninstall xxx
引用:https://gitee.com/glsnames/scoop-installer