windows scoop的安装

scoop设置镜像源

scoop config SCOOP_REPO https://mirrors.tuna.tsinghua.edu.cn/scoop/

scoop可以轻松安装windows上的一些工具利用简单的scoop install xxx
转自 xoxome.online
scoop下载
通过网盘分享的文件:Scoop-0.5.2.zip
链接: https://pan.baidu.com/s/1aDxEVms0fojcIb3a8nvRgQ?pwd=ix36 提取码: ix36

win11按照github普通安装方式会报错:
Running the installer as administrator is disabled by default, see https://github.com/ScoopInstaller/Install#for-admin for details.

那么我们使用管理员方式强制安装,进入下载解压好的scoop/bin目录允许powershell
然后:

For Admin
Installation under the administrator console has been disabled by default for security considerations. If you know what you are doing and want to install Scoop as administrator. Please download the installer and manually execute it with the -RunAsAdmin parameter in an elevated console. Here is the example:

执行下面命令安装即可


irm get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin [-OtherParameters ...]
# I don't care about other parameters and want a one-line command
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"

上面方法不行试试下面的,直接使用命令安装,不需要下载zip

# 下载安装脚本
irm get.scoop.sh -outfile 'install.ps1'

# 运行安装脚本并指定管理员模式
.\install.ps1 -RunAsAdmin
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值