Skip to content

Brew 🍺

LeoTM edited this page Apr 5, 2024 · 21 revisions

Capture

Most formulae need a compiler, a few need a full Xcode install

  • formula: pkg def .rb (source code compiled, managed by brew)
  • cask: app binary (can incl. GUI)

Formulae

https://github.com/Homebrew/homebrew-core/tree/master/Formula

e.g. yarn

Allow alternate casks

brew tap homebrew/cask-versions

Casks

Custom

# Extract

# Remote
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/86a44a0a552c673a05f11018459c9f5faae3becc/Formula/[email protected]
# Local
brew install leo/python2/[email protected]
# or
brew install /opt/homebrew/Library/Taps/<user>/homebrew-python2/Formula/[email protected]
# or
brew install /usr/local/Homebrew/Library/Taps/<user>/homebrew-python2/Formula/[email protected]

Remove

brew untap <user>/python2

Blog

Clone this wiki locally