
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 thebrew upgrade
formula
command. See alsounpin
.
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