brew install with no update

Brew is super super slow. Especially in China. When I need to install or upgrade something without having to wait for 20 minutes for brew to update, I do this.

Run brew install command without waiting for Brew to update:

export HOMEBREW_NO_AUTO_UPDATE=1 & brew install <the pkg>
Last modified: September 09, 2021
© 2024