Skip auto updates for brew install
Skipping Automatic Updates for Brew Install
When we execute commands like brew install/update/tap ...
, Homebrew automatically updates existing formulas by running brew update --auto-update
.
However, this process can be time-consuming as we need to wait for all formulas to update.
I recently discovered a way to bypass this auto-update feature by setting an environment variable:
HOMEBREW_NO_AUTO_UPDATE=1 brew install <formula>