scoop入门

权限设置

1
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

设置安装目录

1
2
$env:SCOOP='D:\tool\scoop'
[Environment]::SetEnvironmentVariable('SCOOP', $env:SCOOP, 'User')

安装

1
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')