docs/cli/bootstrap/packages/prune.md
mise bootstrap packages prunemise bootstrap packages prune [FLAGS]src/cli/system/prune.rsPrune installed system packages no longer declared in [bootstrap.packages]
Currently supports Homebrew formulae only. Pruning removes linked formulae that are not needed by the current config or by trusted, loadable tracked configs.
-m --manager <MANAGER>Only prune packages for this manager. Currently only brew is supported
Choices:
brewDefault: brew
-n --dry-runPrint what would be removed without deleting anything
-y --yesSkip the confirmation prompt
Examples:
mise bootstrap packages prune --manager brew
mise bootstrap packages prune --manager brew --dry-run
mise bootstrap packages prune --manager brew --yes