homebrew – How to make sure “brew” only installs what I want without breaking other things?

Spread the love

Is there a brew option to do so?

For pinning a formula to a specific version, there is brew pin:

Pin the specified formula, preventing them from being upgraded when issuing the brew upgrade formula command. See also unpin.

Note that the documentation only specifically talks about brew upgrade, but one would assume that the automatic upgrading as part of brew install is covered as well.

In the past, there was a brew switch command to toggle between two versions of the same package to assist in managing dependencies. You can get that back now with brew tap mistydemeo/cmd

Author: Dhanraj7978

Leave a Reply

Your email address will not be published. Required fields are marked *