以Maven為例
$ brew versions maven
#3.0.4 git checkout 1dc42b3 /usr/local/Library/Formula/maven.rb
#3.0.3 git checkout 14e4db3 /usr/local/Library/Formula/maven.rb
#3.0.2 git checkout 03b288a /usr/local/Library/Formula/maven.rb
#3.0.1 git checkout 83857d6 /usr/local/Library/Formula/maven.rb
#3.0 git checkout 09a0264 /usr/local/Library/Formula/maven.rb
#2.2.1 git checkout d40d419 /usr/local/Library/Formula/maven.rb
# install the specific version of Maven
# usage: brew switch [formula] [version]
brew switch maven 3.0.3
brew install maven
沒有留言:
張貼留言