scoop-help #
ps1
# 帮助信息
scoop help
# scoop版本号
scoop --version
# 更新scoop和buckets
scoop update
搜索应用 #
ps1
# 搜索应用
scoop search APP_NAME
# 查看应用详情
scoop info APP_NAME
管理应用 #
ps1
# 查看已安装的包
scoop list
# 安装应用
scoop install APP_NAME
# 安装指定版本的应用
scoop install APP_NAME@VERSION
# 安装到全局scope(需要管理员权限)
scoop install APP_NAME -g
# 更新应用
scoop update APP_NAME
# 更新全局scope的应用(需要管理员权限)
scoop update APP_NAME -g
# 卸载应用
scoop uninstall APP_NAME
# 卸载并删除所有数据
scoop uninstall APP_NAME -p
# 卸载全局scope的应用(需要管理员权限)
scoop uninstall APP_NAME -g
# 切换应用版本
scoop reset APP_NAME
# 切换全局scope的应用版本(需要管理员权限)
scoop reset APP_NAME -g
# 样例:
# 切换node版本
scoop reset nodejs18
管理仓库 #
ps1
# 查看仓库列表
scoop bucket list
# 查看常用仓库
scoop bucket known
# 添加仓库
scoop bucket add BUCKET_NAME [REPO_URL]
# 移除仓库
scoop bucket rm BUCKET_NAME