Scoop(Windows包管理器)

云服务器 · 04-12

在PowerShell 中打开远程权限

Set-ExecutionPolicy RemoteSigned -scope CurrentUser

修改HOST: code C:\Windows\System32\drivers\etc 添加以下内容:

199.232.68.133 raw.githubusercontent.com

下载安装脚本:

irm get.scoop.sh -outfile 'install.ps1'

执行:

.\install.ps1 -ScoopDir 'D:\ScoopApp' -ScoopGlobalDir 'D:\ScoopApp' -NoProxy

成功!

Scoop was installed successfully! Type 'scoop help' for instructions.

跟着官网安装个Chrome试试:https://scoop.sh/#/apps?q=chrome
两条命令:

scoop bucket add extras
scoop install extras/googlechrome

第一条命令报错,根据提示

ERROR Git is required for buckets. Run 'scoop install git' and try
again.
scoop install git

再安装就成功了!

https://zhuanlan.zhihu.com/p/657957396
https://blog.csdn.net/qq_41061352/article/details/107140887

Theme Jasmine by Kent Liao