Scoop 是一款专为 Windows 系统设计的命令行安装程序(包管理器),其核心理念是让开发者和普通用户能像在 Linux/macOS 环境中一样,通过简洁的命令快速安装、更新和管理软件。它使用 PowerShell 开发,完全基于命令行操作,无需图形界面,特别适合追求效率的技术用户。 类比理解: Linux 用户:类似 apt 或 yum macOS 用户:类似 Homebrew Windows 传统方式:告别手动下载安装包、解压、配置环境变量的繁琐流程
- 纯绿色软件管理 所有软件默认安装到用户目录(~/scoop),无需管理员权限,避免系统污染。 自动处理环境变量、路径配置,安装后立即可用。
- 专注开发者工具生态 默认仓库(main bucket)收录 700+ 开发工具:Git、Node.js、Python、7-Zip、VSCode、Docker 等。 支持自定义仓库(Buckets),可扩展安装游戏、GUI 应用等(如 extras 仓库含 Firefox、Inkscape)。
- 版本控制与快速切换 支持多版本共存(如同时安装 Python 3.9 和 3.11),通过 scoop reset 一键切换版本。
- 透明化与可审计 软件清单以 JSON 格式公开(scoop-bucket 源码库),安装过程清晰可见,无隐藏行为。
安装
仅需一条 PowerShell 命令即可安装 Scoop 本身:powershell
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm https://get.scoop.sh | iex
常用命令
scoop install git nodejs python
scoop
用法: scoop <command> [<args>]
可用的命令如下。
输入 scoop help <command> 获取特定命令的更多帮助
scoop help
用法: scoop <command> [<args>]
可用的命令如下。
输入 scoop help <command> 获取特定命令的更多帮助。
Command Summary
------- -------
alias Manage scoop aliases
bucket Manage Scoop buckets
cache Show or clear the download cache
cat Show content of specified manifest.
checkup Check for potential problems
cleanup Cleanup apps by removing old versions
config Get or set configuration values
create Create a custom app manifest
depends List dependencies for an app, in the order they'll be installed
download Download apps in the cache folder and verify hashes
export Exports installed apps, buckets (and optionally configs) in JSON format
help Show help for a command
hold Hold an app to disable updates
home Opens the app homepage
import Imports apps, buckets and configs from a Scoopfile in JSON format
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
shim Manipulate Scoop shims
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's hash or url on virustotal.com
which Locate a shim/executable (similar to 'which' on Linux)
可以使用 scoop.sh 搜索
| 命令 | 作用 |
|---|---|
scoop search <软件名> |
搜索可用软件 |
scoop update * |
更新所有已安装软件 |
scoop uninstall <软件> |
卸载软件 |
scoop list |
查看已安装软件列表 |
scoop status |
检查可更新的软件 |
```shell scoop list
Name Version Source Updated Info —- ——- —— ——- —- 7zip 26.00 main 2026-04-16 19:39:37 abgox.scoop-i18n 2026.04.12.100832 abyss 2026-04-20 10:43:20 carapace-bin 1.6.4 extras 2026-04-20 11:12:51 dark 3.14.1 main 2026-04-18 03:15:15 git 2.53.0.3 main 2026-04-16 19:40:12 git-lfs 3.7.1 main 2026-04-20 11:30:08 git-tfs 0.34.0 main 2026-04-16 19:49:12 graphviz 14.1.5 main 2026-04-24 11:06:33 nodejs 25.9.0 main 2026-04-19 21:15:26 oh-my-posh 29.10.0 main 2026-04-19 22:04:19 openjdk8-redhat 8u342-b07 java 2026-04-24 11:03:05 posh-git 1.1.0 extras 2026-04-19 22:04:28 powertoys 0.98.1 extras 2026-04-18 03:17:00 python 3.14.4 main 2026-04-19 21:19:33 qq 9.7.25.29417 extras 2026-04-16 20:30:51 scoop-search 2.1.0 main 2026-04-16 20:21:26 steam nightly-20260416 games 2026-04-16 20:29:09 uv 0.11.7 main 2026-04-19 21:13:04
```