Homebrew install package with a particular version

Prakash Raman picture Prakash Raman · Jan 23, 2017 · Viewed 16.1k times · Source

Unfortunately on my MAC I am unable to get the gem "rmagick" to install. I've tried pretty much a all the options.

I had gotten it to install when I used "imagemagick 6.3.9.7".

Therefore, I want to know is there a way to install a particular version of the software using brew ?

Something like

brew install imagemagick -v 6.3.9.7

Answer

balazs630 picture balazs630 · Jan 23, 2017

Search for available versions with:

brew search imagemagick

To install a specific version use this forumla: brew install package@<version>, in your case it's:

brew install [email protected]