If text is flanked by slashes, it is interpreted as a regular expression.ĭoctor, dr Ĭheck your system for potential problems. -d, -description: Search just descriptions for text.If text is flanked by slashes, it is interpreted as a regular expression. -n, -name: Search just names for text.-s, -search: Search both names and descriptions for text.Formula descriptions are cached the cache is created on the first search, making that search slower than subsequent ones. -cask: Treat all named arguments as casks.ĭesc formula| text| / regex / ĭisplay formula’s name and one-line description.-formula: Treat all named arguments as formulae.This is used for debugging the -installed/ -all display mode. -for-each: Switch into the mode used by the -all option, but only list dependencies for each provided formula, one formula per line.-all: List dependencies for all available formulae.If formula is specified, list only its dependencies that are currently installed. -installed: List dependencies for formulae that are currently installed.-annotate: Mark any build, test, optional, or recommended dependencies as such in the output.When given multiple formula arguments, show individual trees for each formula. -include-requirements: Include requirements in addition to dependencies for formula.-skip-recommended: Skip :recommended dependencies for formula.-include-test: Include :test dependencies for formula (non-recursive).-include-optional: Include :optional dependencies for formula.-include-build: Include :build dependencies for formula.
-full-name: List dependencies by their full name.-union: Show the union of dependencies for multiple formula, instead of the intersection.
Show Homebrew and system configuration info useful for debugging. ĭisplay the current state of Homebrew’s completions.
If you want to delete those too: rm -rf "$(brew -cache)" Note downloads for any installed formulae or casks will still not be deleted. -s: Scrub the cache, including downloads for even the latest versions.-n, -dry-run: Show what would be removed, but do not actually remove anything.If you want to remove everything, use -prune=all. -prune: Remove all cache files older than specified days.This can be adjusted with HOMEBREW_CLEANUP_MAX_AGE_DAYS. Removes all downloads more than 120 days old. If arguments are specified, only do this for the given formulae and casks. Remove stale lock files and outdated downloads for all formulae and casks, and remove old versions of installed formulae. List all locally installable casks including short names. -n, -dry-run: List what would be uninstalled, but do not actually uninstall anything.Uninstall formulae that were only installed as a dependency of another formula and are now no longer needed. Regenerate the UUID used for Homebrew’s analytics. Turn Homebrew’s analytics on or off respectively. ĭisplay the current state of Homebrew’s analytics. COMMANDS analytics Ĭontrol Homebrew’s anonymous aggregate user behaviour analytics. If no search term is provided, all locally available formulae are listed. The search for text is extended online to homebrew/core and homebrew/cask. Perform a substring search of cask tokens and formula names for text.
install formulaįormula is usually the name of the formula to install, but it has other syntaxes which are listed in the SPECIFYING FORMULAE section. Note that these options should only appear after a command. With -verbose or -debug, many commands print extra debugging information. ESSENTIAL COMMANDSįor the full command list, see the COMMANDS section.
It can also install software not packaged for your Linux distribution to your home directory without requiring sudo. Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with macOS.