brew Facts¶
See also: operations/brew.
brew.BrewCasks¶
Returns a dict of installed brew casks:
brew.BrewPackages¶
Returns a dict of installed brew packages:
Note
Homebrew maintains separate versions of certain formulae (e.g. python, postgres and
node) and multiple versions of these formulae can be installed at the same time
(e.g. python@3.15 and python@3.10) but Homebrew does not otherwise support installing
a specific version of a formula (e.g. rclone@1.75). In the case where multiple versions
of a formula are installed at once, they will show up as distinct entries in
BrewPackages
brew.BrewTaps¶
Returns a list of brew taps.
brew.BrewTrusted¶
Returns a dict with lists of the casks, commands, formulae and taps that have been marked as trusted
brew.BrewVersion¶
Returns the version of brew installed as a semantic versioning list: