Quick Reference

Cheatsheets

Practical command references for Linux, networking, servers, containers, databases, and more.

Cheatsheet#windows-package-manager-cheatsheet

Windows Package Manager Cheatsheet

Windows Package Manager (winget) is a comprehensive package manager solution that consists of a command line tool and a set of services for installing applications on Windows.

Installation

Winget is installed by default on Windows 11 and recent versions of Windows 10. For manual installation, see the official releases page.

Winget (Windows Package Manager)

Install & Uninstall

winget install <id>              # Install package
winget install <id> --silent     # Silent install
winget install <id> -v <version> # Install specific version
winget uninstall <id>            # Uninstall package

Search & List

winget search <query>            # Search for packages
winget list                      # List installed packages
winget show <id>                 # Show package details

Updates

winget upgrade                   # List available upgrades
winget upgrade <id>              # Upgrade specific package
winget upgrade --all             # Upgrade all packages

Sources & Settings

winget source list               # List sources
winget source update             # Update sources
winget settings                  # Open settings (JSON)
winget export -o list.json       # Export installed packages
winget import -i list.json       # Install from export

Chocolatey (Choco)

Install & Uninstall

choco install <pkg>              # Install package
choco install <pkg> -y           # Install without confirmation
choco install <pkg> --version 1.0 # Install version
choco uninstall <pkg>            # Uninstall package

Search & List

choco search <query>             # Search packages
choco list --local-only          # List installed packages
choco info <pkg>                 # Show package info

Updates

choco outdated                   # Check for updates
choco upgrade <pkg>              # Upgrade package
choco upgrade all -y             # Upgrade all packages

Advanced

choco pin add -n=<pkg>           # Pin package (skip updates)
choco pin list                   # List pinned packages
choco feature list               # List config features
choco clean                      # Clean cache

Scoop

Scoop installs software from the command line with minimal friction — no admin rights needed, no UAC popups, and per-user installation.

Install & Uninstall

scoop install <app>              # Install app
scoop uninstall <app>            # Uninstall app
scoop update <app>               # Update specific app

Bucket Management

scoop bucket list                # Show added buckets
scoop bucket add extras          # Add the 'extras' bucket (many GUI apps)
scoop bucket add versions        # Add 'versions' bucket (multiple versions)
scoop bucket add nerd-fonts      # Add 'nerd-fonts' bucket
scoop bucket add <name> <repo>   # Add any third-party bucket from GitHub
scoop bucket rm <name>           # Remove a bucket

Search & List

scoop search <query>             # Search all buckets for an app
scoop list                       # List installed apps via Scoop
scoop info <app>                 # Show detailed app info
scoop home <app>                 # Open app's homepage in browser

Updates & Maintenance

scoop update                     # Update Scoop itself and bucket manifests
scoop update --all               # Update all installed apps
scoop status                     # Show which apps have updates available
scoop cleanup <app>              # Remove old versions of an app
scoop cleanup --all              # Clean up old versions for all apps

Pinning & Holding

scoop hold <app>                 # Prevent an app from being upgraded
scoop unhold <app>               # Remove the hold and allow upgrades
scoop hold --all                 # Hold all apps
scoop unhold --all               # Unhold all apps

Quick Reference

CommandDescription
winget install <id>Install App (Winget)
winget upgrade --allUpdate All (Winget)
choco install <pkg> -yInstall App (Choco)
choco upgrade all -yUpdate All (Choco)