How scoopinstaller/scoop works
Scoop is a Windows command-line app installer. Its main workflow is selecting an app from a bucket, resolving dependencies, downloading and installing the app, then exposing it for use; it also supports updates, removal, and bucket management. The README documents these capabilities, but the sampled source covers only the standalone manifest validator. Accordingly, most internal workflow links are dashed and unverified rather than asserted as observed calls.
Main entry points: commands.ps1 Command Dispatch · install.ps1 App Installation · scoop-update.ps1 App Updates · scoop-bucket.ps1 Bucket Management
Components 19
CLI
- Scoop CLI
bin/scoop.ps1 - Command Dispatch
lib/commands.ps1
App Catalog
- Search Apps
libexec/scoop-search.ps1 - Bucket Management
libexec/scoop-bucket.ps1 - App Manifests
lib/manifest.ps1 - Manifest Validator
supporting/validator/validator.cs - Validation Logic
supporting/validator/Scoop.Validator.cs
App Lifecycle
- Dependency Resolution
lib/depends.ps1 - Downloads
lib/download.ps1 - App Installation
lib/install.ps1 - Archive Extraction
lib/decompress.ps1 - Command Shims
lib/shortcuts.ps1
Management
- App Updates
libexec/scoop-update.ps1 - App Removal
libexec/scoop-uninstall.ps1 - Installed App State
lib/database.ps1 - Configuration
libexec/scoop-config.ps1
Other components
- User
- Bucket Repositories
- Download Sources
Connections 21
- User → Scoop CLI: runs commands
README.md - Scoop CLI → Command Dispatch: dispatches
- Command Dispatch → Search Apps: routes to
- Command Dispatch → Bucket Management: routes to
- Command Dispatch → App Installation: routes to
- Command Dispatch → App Updates: routes to
- Command Dispatch → App Removal: routes to
- Command Dispatch → Configuration: routes to
- Bucket Repositories → Bucket Management: provides apps
README.md - Bucket Management → App Manifests: provides manifests
- App Installation → App Manifests: uses manifest
- App Installation → Dependency Resolution: resolves dependencies
README.md - App Installation → Downloads: downloads app
- Download Sources → Downloads: provides files
- App Installation → Archive Extraction: extracts archives
- App Installation → Command Shims: sets up commands
- App Installation → Installed App State: records install
- App Updates → Downloads: downloads updates
- App Updates → Installed App State: updates state
- App Removal → Installed App State: updates state
- Manifest Validator → Validation Logic: uses validator
supporting/validator/validator.cs