Skip to Content
DocsCommandsnb deps / uses

nb deps / uses

nb deps [OPTIONS] <FORMULAS>... nb uses [OPTIONS] <FORMULAS>...

nb deps shows the runtime dependencies of formulae. nb uses shows the formulae and casks that depend on them.

nb deps options

FlagMeaning
-1, --directOnly the dependencies the formulae name themselves
--unionShow the dependencies of any of the formulae, not only shared ones
--auto-initInitialize without prompting
-v, --verboseIncrease output verbosity
-q, --quietSuppress output, only show errors

nb uses options

FlagMeaning
--installedOnly list installed formulae and casks
--recursiveAlso count dependencies of dependencies
--formula, --formulaeOnly list formulae
--cask, --casksOnly list casks
--auto-initInitialize without prompting
-v, --verboseIncrease output verbosity
-q, --quietSuppress output, only show errors

Examples

nb deps ffmpeg nb deps --direct --union git curl nb uses --installed --recursive openssl@3

Differences from brew

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

Last updated on