<aside> 🍺
Homebrew is a package manager for macOS. It determines the configuration needed for a successful install, keeps a log of software that needs updating, and updates everything with a few keystrokes.
</aside>
/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"
# Add Homebrew to your PATH:
echo >> $HOME/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >> $HOME/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv zsh)"
<aside> ⚠️
The PATH step is not optional on Apple Silicon. Homebrew installs to /opt/homebrew there rather than /usr/local, and brew won't be found until ~/.zprofile is updated.
</aside>
You can search and install many common bioinformatics packages with brew, for example:
brew install blast