Comment

Comment by secondraft

Running `brew install hello` triggers `brew update` automatically unless the environment variable HOMEBREW_NO_AUTO_UPDATE is set:

echo export HOMEBREW_NO_AUTO_UPDATE=1 >> $HOME/.zshrc

I do not think it was a wise decision to enable auto update on `brew install` as long time users expect `brew update` and `brew install` to be two separate steps (as it was for years) and because Homebrew no longer operates like `apt` and other package managers.

Looks like it was changed in 2016: https://github.com/Homebrew/brew/issues/288

parent secondraft 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton