homebrew learning (e) of the canceled automatically updated homebrew

homebrew automatic updates

Use brew install / brew cask install is always the first to install the software updating HomeBrew ..., very slow

Cancel homebrew automatic updates

Method one: using the command line, but after each restart need to re-execute the command

export HOMEBREW_NO_AUTO_UPDATE=true

Method 2: If you want to restart the setting remains in effect, you can put the above line added to the shell configuration file that is currently being used in, for example, I am using zsh, then execute the following statement

we ~ / .zshrc

Then in the right position, the line added to the above configuration.

 

Guess you like

Origin www.cnblogs.com/kunmomo/p/11280339.html