#Some links http://effectif.com/mac-os-x/installing-specific-version-of-homebrew-formula http://stackoverflow.com/questions/3987683/homebrew-install-specific-version-of-formula/4158763#4158763 https://github.com/Homebrew/homebrew-versions
#How to install particular version of a formula
- finding the commit of the formula change for the version your looking for:
cd $(brew --repository)
git log -- Library/Formula/<formula_name>.rb
orgit log -S '<version>' -- Library/Formula/<formula_name>.rb
- unlink previous installed version
brew unlink <formula_name>
- install a particular commit:
brew install https://raw.githubusercontent.com/Homebrew/homebrew/<full_commit_hash>/Library/Formula/<formul_name>.rb
- check your installation
brew info <formula_name>
ls -la $(brew --repository)/Cellar/<formula_name>
- later switch between versions
brew switch <formul_name> <version>
That's what the comment http://stackoverflow.com/a/7787703/504356 states.