Skip to Content
DocsCommandsnb uninstall

nb uninstall

nb uninstall [OPTIONS] [FORMULAS]...

Options

FlagMeaning
--allUninstall all installed packages
--formula, --formulaeTreat the names as formulae
--cask, --casksTreat the names as casks
--zapAlso remove the casks’ user data (zap stanza)
--ignore-dependenciesUninstall even if other installed packages depend on these
-f, --forceUninstall pinned formulae too, and pass over names not installed
--auto-initInitialize without prompting
-v, --verboseIncrease output verbosity
-q, --quietSuppress output, only show errors

Examples

nb uninstall jq nb uninstall --cask --zap ghostty nb uninstall --all

Differences from brew

Like brew uninstall, it then runs autoremove unless you pass --all. Set NEXTBREW_NO_AUTOREMOVE to any value to turn that off.

Last updated on