When you use the Homebrew installation tool under your Mac, the latest version is installed by default.
Sometimes we need the old version, so what should we do?
Older versions of homebrew can use the following commands:
Brew versions <formula>
Lists all the <formula>
versions that you specify, select a version, and then use the
Install <formula>
And now the latest version of the homebrew, there is no versions this parameter. What about that?
The official website has the related operation instruction, the address.
The original text reads as follows:
How do I install these formulae?
Just and then brew tap homebrew/versions
brew install <formula>
.
If the formula conflicts with one from Homebrew/homebrew or another tap, can
Install homebrew/versions/<formula>
You can also install via URL:
Install https://Raw.githubusercontent.com/homebrew/homebrew-versions/master/<formula >.RB
Specific operation mode:
First, you need to visit this page, select the desired RB in the page;
You can then install it using the commands mentioned above.
Tool methods for installing older versions of homebrew under Mac