I wanted to install redis on my mac but the issue faced by me while install is that it took too much time. So thought of disabling it.
Homebrew is an opensource package manager on mac and most of the people use it to install various tools and software to on mac.
Let's find how to disable the auto-update on homebrew.
There are multiple ways to disable it. Let's look at some ways.
HOMEBREW_NO_AUTO_UPDATE=1 brew install <formula>
If you are using the above method then you need to make this article/commands handly so that you can access it easily.
You can disable
auto-update in terminal permanently by setting the environment variable in
$ vim ~/.bashrc export HOMEBREW_NO_AUTO_UPDATE=1
$ vim ~/.zshrc export HOMEBREW_NO_AUTO_UPDATE=1