Skip to content

Instantly share code, notes, and snippets.

@vbajpai
Created October 15, 2013 14:27
Show Gist options
  • Save vbajpai/6992383 to your computer and use it in GitHub Desktop.
Save vbajpai/6992383 to your computer and use it in GitHub Desktop.
install a previous version of a software using homebrew
$ brew versions json-c
0.11 git checkout eeb3d65 Library/Formula/json-c.rb
0.10 git checkout 438d334 Library/Formula/json-c.rb
0.9 git checkout 7955181 Library/Formula/json-c.rb
$ git checkout 438d334 /usr/local/Library/Formula/json-c.rb
$ brew install json-c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment