Skip to content

Instantly share code, notes, and snippets.

@hitme
Created August 11, 2014 18:27
Show Gist options
  • Save hitme/7312190f43213be20be5 to your computer and use it in GitHub Desktop.
Save hitme/7312190f43213be20be5 to your computer and use it in GitHub Desktop.
brew switch between maven2 and maven30
brew tap homebrew/versoins
brew install FORMULA # here is maven30\maven31\maven2 etc...
brew unlink maven2 # suppose that maven2 (version 2.2.1) is installed previously
brew link maven30 # now maven30 (version 3.0.x) will substitute maven2
# to revert this process, no need to reinstall maven2. just
brew unlink maven30
brew link maven2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment