徐智军
徐智军
Published on 2026-03-06 / 13 Visits
0
0

SCOOP安装教程

下载安装

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

设置位置

 .\install.ps1 -ScoopDir 'H:\Scoop' -ScoopGlobalDir 'H:\Scoop\apps'  -ScoopCacheDir 'H:\Scoop\cache' -NoProxy

可以参考 https://github.com/Scoopforge/Extras-CN

更改为国内的源

 # 更换scoop的repo地址
 scoop config SCOOP_REPO "https://gitee.com/scoop-installer/scoop"
 # 添加国内的bucket仓库
 scoop bucket add extras-cn https://github.com/Scoopforge/Extras-CN
 scoop bucket add extras https://gitee.com/scoop-bucket/extras
 # 更新一下
 scoop update

切换官方镜像

 scoop config SCOOP_REPO https://github.com/ScoopInstaller/Scoop
 # 重新添加bucket
 scoop bucket rm main
 scoop bucket add main

安装 Aria2 来加速下载

 scoop install aria2

如果使用代理,需要通过如下命令关闭 aria2

 scoop config aria2-enabled false

代理

 # 添加代理 根据实际需要,填写http代理信息
 scoop config proxy 10.10.10.3:7890
 ​
 # 删除代理
 scoop config rm proxy

软件安装

 # 基本语法
 scoop install <库名/软件名>
 ​
 scoop search <库名/软件名>
 ​
 # 例如安装 qq 微信(wechat) 
 scoop install qq
 scoop install scoopcn/wechat
 ​
 # 一条命令安装多个软件
 scoop install qq wechat aria2

软件卸载

 scoop uninstall qq wechat

软件更新

 scoop update *  

其他命令

 # 软件暂停更新
 scoop hold <软件名>
 # 切换到指定版本
 scoop reset <软件名@版本号>
 # 重置所有软件链接及图标
 scoop reset *
 ​
 # 删除缓存软件包
 scoop cache rm *
 ​
 # 删除软件老版本
 scoop cleanup rm *

Aria2 的参数自定义

 # aria2 在 Scoop 中默认开启
 scoop config aria2-enabled true
 # 关于以下参数的作用,详见 aria2 的相关资料
 scoop config aria2-retry-wait 4
 scoop config aria2-split 16
 scoop config aria2-max-connection-per-server 16
 scoop config aria2-min-split-size 4M

常用bucket

https://rasa.github.io/scoop-directory/by-score.html

 scoop bucket add extras
 scoop bucket add versions
 scoop bucket add dorado https://github.com/chawyehsu/dorado

国内镜像bucket:

  1. 地址:https://gitee.com/scoop-bucket

  2. 安装时候替换为:scoop bucket add extras https://gitee.com/scoop-bucket/extras.git



Comment