Scoop 是 Windows 上最简洁优雅的软件包管理器之一。通过命令行即可快速安装、更新、清理各类开发工具,体验接近 macOS 的 Homebrew。
01- 打开PowerShell,输入以下命令
# 确保执行策略已开启
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# 运行安装脚本
irm get.scoop.sh | iex
# 验证安装是否成功
scoop --version
02- 安装git
scoop install git
03- 添加扩展仓库
scoop bucket add extras
04- 软件的安装与卸载命令
scoop search <软件名> # 搜索软件
scoop install <软件名> # 安装软件
scoop uninstall <软件名> # 卸载软件
05- 常用维护命令
scoop update # 更新 Scoop 本身和所有 buckets
scoop list # 查看已安装软件
scoop status # 查看哪些软件可更新
scoop update * # 一键升级所有软件
scoop cleanup * # 清理旧版本释放空间
scoop cache rm * # 清空下载缓存
scoop bucket list # 查看已添加的仓库
06- 网络加速建议
⚠️ Scoop 依赖 GitHub 资源,国内网络环境下安装和更新常会超时。建议在代理 Tun 模式 下运行 Scoop 命令(如 Clash Tun、Clash Verge Tun)。