scoop-软件包管理器
scoop
scoop官网 https://scoop.sh/
项目github地址 https://github.com/ScoopInstaller/Scoop
安装scoop
Set-ExecutionPolicy RemoteSigned 修改脚本执行策略 Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression 安装scoop
安装软件
- git
scoop及bucket更新均依赖此软件,如果电脑上已经手动那装过,只需要在环境变量path下添加git目录即可。
- aria2
用于加速下载,安装之后下载软件报错,解决办法:scoop中使用aria2加速下载
- innounp
一个依赖的组件(可以不装,后面装软件的时候会自动安装)
scoop bucket add main scoop install main/innounp
- wingetui(没什么用,看看就行)
scoop bucket add extras scoop install extras/wingetui
scoop环境详解
scoop的目录
C:\Users\xxxxx\scoop buckets 软件源 cache 软件的下载缓存 apps scoop安装的所有软件都会装在这个目录下 persist 应用程序的用户数据 shims 一些应用程序的启动程序或脚本
-
apps下的每个软件的data都link到persist下软件对应的data
-
每个软件都是用currentlink到当前版本
源的json文件里面都是下载地址
scoop常用命令
#帮助手册 scoop help 或者 scoop /? scoop bucket /? scoop checkup #检查scoop的问题 scoop bucket list scoop bucket known scoop bucket add <别名> <git地址> scoop bucket add 名称 scoop bucket rm <别名> scoop search <query> #在已添加的源中搜索软件 scoop info <app> #查看软件信息 scoop list #列出scoop已安装的软件 scoop install aria2 scoop uninstall aria2 版本号带有`-`时: scoop install main/aria2@'1.37.0-1' scoop download extras/powertoys #下载指定软件 scoop hold <软件名> #禁止指定软件更新 取消禁止更新使用 unhold scoop update #更新scoop scoop update <app> #更新指定软件 scoop update * #更新所有软件 或使用 -a scoop cache show #查看scoop的下载缓存 scoop cache rm <app> #删除指定软件的下载缓存 scoop cache rm * #删除所有软件的下载缓存 或使用 -a scoop cleanup #清理scoop旧版本 scoop cleanup <app> #清理指定程序的旧版本 * 或 -a #清理所有软件的旧版本 -k, --cache #清理过时下载缓存 scoop reset <软件名@版本号> #切换到指定版本 scoop export -c > scoopfile.json #导出app列表、源列表 scoop cat scoopfile.json #查看列表内容 scoop import scoopfile.json #根据导入的app列表安装软件 # 添加代理 根据实际需要,填写http代理信息 scoop config proxy 127.0.0.1:4412 # 删除代理 scoop config rm proxy scoop create /? scoop config /?
常见bucket
官方bucket
scoop bucket add extras scoop bucket add versions scoop bucket add nirsoft scoop bucket add sysinternals scoop bucket add php scoop bucket add nerd-fonts scoop bucket add nonportable scoop bucket add Java scoop bucket add games #会报错
其他三方bucket
scoop bucket add jetbrains 手册 https://gitee.com/scoop-installer/scoop 目前已知bucket已镜像至gitee,可访问 https://gitee.com/organizations/scoop-installer/projects 获取对应bucket库连接 # 举例添加scoopcn([Mostly Chinese applications / 大多是国内应用程序](https://github.com/scoopcn/scoopcn)) scoop bucket add scoopcn https://gitee.com/scoop-installer/scoopcn scoop bucket add dorado https://github.com/chawyehsu/dorado scoop bucket add Ash258 https://github.com/Ash258/Scoop-Ash258 scoop bucket add scoopet https://github.com/integzz/scoopet scoop bucket add 42wim https://github.com/42wim/scoop-bucket.git # raresoft 破解版软件集合 scoop bucket add raresoft https://github.com/L-Trump/scoop-raresoft 更多:https://lzw.me/a/scoop.html/comment-page-1 https://github.com/lzwme/scoop-proxy-cn https://github.com/scoopcn/scoopcn
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步