install
- github :https://github.com/ScoopInstaller/Install
- 快速以 admin 安装
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"
bucket
以下为scoop主要bucket:
- main - Default bucket for the most common (mostly CLI) apps
- extras - Apps that don’t fit the main bucket’s criteria
- games - Open source/freeware games and game-related tools
- nerd-fonts - Nerd Fonts
- nirsoft - Almost all of the 250+ apps from Nirsoft
- sysinternals - Sysinternals Suite and all individual application from Microsoft
- java - A collection of Java development kits (JDKs), Java runtime engines (JREs), Java’s virtual machine debugging tools and Java based runtime engines.
- nonportable - Non-portable apps (may require UAC)
- php - Installers for most versions of PHP
- versions - Alternative versions of apps found in other buckets
默认安装main,可以添加其他bucket:
scoop bucket add bucket名
ep:
scoop bucket add extras
常用命令
搜索
scoop search bucketname
安装
- base
scoop install appname
- 更加具体的安装某个bucket内的app
scoop install bucketname/appname
卸载
scoop uninstall appname
更新
scoop update
查看已安装应用
scoop list
导出scoop配置
scoop export > 导出配置存放path
自建bucket
link :https://scoop.sh
初始化git仓库并推送到github,格式
{
"version": "1.6.4",
"description": "GIF encoder based on libimagequant (pngquant).",
"homepage": "https://gif.ski",
"license": "AGPL-3.0-or-later",
"url": "https://gif.ski/gifski-1.6.4.zip",
"hash": "dc97c92c9685742c4cf3de59ae12bcfcfa6ee08d97dfea26ea88728a388440cb",
"pre_install": "if (!(Test-Path '$dir\\config')) { New-Item '$dir\\config' }",
"bin": "gifski.exe",
"checkver": "For Windows.*?gifski-([\\d.]+)\\.zip",
"autoupdate": {
"url": "https://gif.ski/gifski-$version.zip"
}
}