# 允许本地脚本执行
set-executionpolicy remotesigned -scope currentuser
# 自定义安装路径(可选)
[environment]::setEnvironmentVariable('SCOOP','D:\scoop','User')
$env:SCOOP='D:\scoop'
# 自定义全局路径(可选)
[environment]::setEnvironmentVariable('SCOOP_GLOBAL','D:\bin','Machine')
$env:SCOOP_GLOBAL='D:\bin'
# 安装 Scoop
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
安装完尝试一下: scoop