Skip to Content
DocsCommandsnb link / unlink

nb link / unlink

nb link [OPTIONS] <FORMULAS>... nb unlink [OPTIONS] <FORMULAS>...

nb link symlinks installed formulae, or casks’ binaries, man pages and completions, into the prefix. nb unlink removes those symlinks.

FlagMeaning
-f, --forceAlso link keg-only formulae; for casks, replace their own old links
--overwriteDelete files that already exist in the prefix while linking
-n, --dry-runList files which would be linked or deleted without linking or deleting any
--formula, --formulaeTreat all names as formulae
--cask, --casksTreat all names as casks
--auto-initInitialize without prompting
-v, --verboseIncrease output verbosity
-q, --quietSuppress output, only show errors
FlagMeaning
--formula, --formulaeTreat all names as formulae
--cask, --casksTreat all names as casks
--auto-initInitialize without prompting
-v, --verboseIncrease output verbosity
-q, --quietSuppress output, only show errors

Examples

nb link --dry-run jq nb link --force openssl@3 nb unlink jq

Differences from brew

These commands are Partial: not yet verified on real macOS hardware. See Compatibility.

Last updated on