Recently wanted to install an older version of a homebrew formula…
After checking around on “StackOverflow: Homebrew install specific version of formula” thought I’d list out some of the steps for next time I need to do this.
Here goes:
Update the git repository containing homebrew formulas by running:
Choose the specific version:
For these to work you have to be in the working-directory:
Execute the git code for your version:
And install:
If you’ve already install an older version, you may have to brew remove scala
You may need to do some funky git reset’s after this to get back to the latest versions too