安装Scoop

修改组策略

管理员权限运行windows powershell,执行下方命令后,输入A 回车【窗口勿关闭】。开始菜单右键即可找到windows powershell,选择带管理员的那条运行。

Set-ExecutionPolicy RemoteSigned -scope CurrentUser

安装Scoop
继续在windows powershell窗口中运行如下命令,安装scoop

iwr -useb gitee.com/glsnames/scoop-installer/raw/master/bin/install.ps1 | iex

安装scoop更新依赖程序

scoop install git

添加其他 bucket
bucket是软件库,其包含了软件基本信息、安装卸载命令等。scoop仅是一个软件库管理程序,负责按照bucket给出的信息执行安装。

scoop-main是合并多个上游bucket资源,并添加反代链接用以加速软件安装。添加bucket命令如下

scoop bucket add scoop-main https://gitee.com/glsnames/scoop-main.git

安装常用软件

打开cmd窗口,执行如下命令即可完成安装

社交软件:QQ、微信

scoop install qq wechet

编程语言

scoop install python nodejs

officetoolplus

scoop install officetool

效率软件

scoop install everything bandizip obsidian zotero

软件更新
当间隔运行时间超过一定周期后,运行scoop命令将会更新软件源一次

scoop常用命令

Usage: scoop <command> [<args>]

Some useful commands are:

alias Manage scoop aliases # 管理指令的替身
bucket Manage Scoop buckets # 管理软件仓库
cache Show or clear the download cache # 查看与管理缓存
checkup Check for potential problems # 做个体检
cleanup Cleanup apps by removing old versions # 清理缓存与旧版本软件包
config Get or set configuration values # 配置Scoop
create Create a custom app manifest # 创建自定义软件包
depends List dependencies for an app # 查看依赖
export Exports (an importable) list of installed apps # 导出软件包列表
help Show help for a command # 显示帮助指令
hold Hold an app to disable updates # 禁止软件包更新
home Opens the app homepage # 打开软件包主页
info Display information about an app # 显示软件包信息
install Install apps # 安装软件包的指令
list List installed apps # 列出所有已安装软件包
prefix Returns the path to the specified app # 查看软件包路径
reset Reset an app to resolve conflicts # 恢复软件包版本
search Search available apps # 搜索软件包
status Show status and check for new app versions # 查看软件包更新状态
unhold Unhold an app to enable updates # 启动软件包更新
uninstall Uninstall an app # 卸载软件包的指令
update Update apps, or Scoop itself # 更新软件包
virustotal Look for app hash on virustotal.com # 查看哈希值
which Locate a shim/executable (similar to 'which' on Linux) # 查看可执行程序路径