Skills2026年5月13日·1 分钟阅读

Scoop — Command-Line Installer for Windows Developer Tools

Scoop is a command-line installer for Windows that focuses on developer tools. It installs programs to your home directory by default, avoids UAC pop-ups, and keeps your PATH clean by shimming executables automatically.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Needs Confirmation · 64/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Scoop Overview
通用 CLI 安装命令
npx tokrepo install dbb25df1-4e82-11f1-9bc6-00163e2b0d79

Introduction

Scoop takes a Unix-inspired approach to package management on Windows. It installs tools into isolated directories under your user profile, creates shims so executables are available on your PATH, and handles updates and cleanup without requiring administrator privileges. This makes it a popular choice for developers who want a clean, scriptable setup.

What Scoop Does

  • Installs CLI tools and developer utilities without requiring administrator rights
  • Manages versions and allows switching between installed versions of the same tool
  • Creates shims in a central bin directory so tools are immediately available on PATH
  • Supports community-maintained buckets (repositories) for thousands of applications
  • Handles extraction of portable archives, MSI packages, and installer executables

Architecture Overview

Scoop stores application manifests as JSON files in bucket repositories (regular Git repos). Each manifest specifies a download URL, hash, extraction instructions, and optional pre/post-install scripts. When you run scoop install, it downloads the archive, verifies its hash, extracts it to ~/scoop/apps///, and creates a small executable shim in ~/scoop/shims/. A current symlink points to the active version, making version switching instant. No system-wide registry entries or environment changes are needed.

Self-Hosting & Configuration

  • Install with a single PowerShell one-liner, no admin elevation required
  • Add extra buckets (extras, versions, java, games) for broader app coverage
  • Create private buckets as Git repositories with custom JSON manifests
  • Configure proxy, architecture preferences, and cache location via scoop config
  • Use scoop export and scoop import for reproducible environment provisioning

Key Features

  • User-level installs that avoid permission conflicts in shared or corporate environments
  • Deterministic JSON manifests with SHA256 hash verification for every download
  • Built-in version management with scoop reset to switch active versions
  • Clean uninstalls that leave no registry or system artifacts behind
  • Fast parallel downloads and a local cache for offline reinstalls

Comparison with Similar Tools

  • WinGet — Microsoft-backed with broader GUI app support but requires admin for many installs
  • Chocolatey — larger catalog and enterprise features but uses NuGet packaging and often needs admin
  • Homebrew (macOS/Linux) — similar philosophy but not native to Windows
  • MSYS2 — focuses on Unix toolchains on Windows rather than general package management

FAQ

Q: Does Scoop need administrator rights? A: No. By default Scoop installs everything under your user profile. A global install mode exists but is optional.

Q: How do I install GUI applications? A: Add the extras bucket with scoop bucket add extras, then install apps like vscode, firefox, or 7zip.

Q: Can I use Scoop alongside WinGet or Chocolatey? A: Yes. They use independent install locations and do not conflict, though managing the same app with multiple managers can cause confusion.

Q: How are updates handled? A: Run scoop update to refresh bucket manifests, then scoop update or scoop update * to upgrade installed apps. Old versions can be cleaned up with scoop cleanup.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产