Audience: End UserLast verified against repo: 2026-11-28
Manage Global Packages
Safely update or remove global CLI tools across npm, pnpm, and Yarn Classic with binary diff previews and typed confirmation.Supported global package managers and safety guards
The Global Packages page (/global-packages) manages global tools installed under npm (10, 11, 12), pnpm (10, 11, 12), and Yarn Classic (1.x). Because global operations can overwrite or remove terminal commands on your PATH, PkgSteward enforces dedicated protections before running any change:- Binary diff preview: Shows which executable shims in your global bin folder will be added, kept, or removed before you confirm.
- Self-protection & shared project checks: Blocks operations that would break @pnpm/exe, verifies shared global manifests on pnpm 10 and Yarn Classic, and marks multi-package install groups on pnpm 11/12 as read-only so you do not accidentally remove sibling tools.
- Global npm version switcher & repair card: Lets you switch, restore, or repair your global npm version in-process (preserving npx and corepack shims) even if the terminal npm command is broken.
Update or uninstall a global package
Follow the Preview → Confirm flow on /global-packages.01
Open /global-packages and click Refresh to list installed packages across npm, pnpm, and Yarn Classic, then click Load versions on the package you want to inspect.1. Refresh your global inventory and load versions
Expected result: PkgSteward shows the currently installed version, exposed binary commands, and available registry versions.
02
Select Update or Uninstall, review the affected binary commands in the preview dialog, and type the required confirmation string.2. Preview binary changes and type the exact confirmation text
Expected result: PkgSteward executes the global update or removal, verifies postconditions, and refreshes your global binary inventory.
Last verified against repo: 2026-11-28 (
README.md)View source doc on GitHub(opens in new tab)