设置脚本权限

1
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time

安装

1
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"