Skip to content

Instantly share code, notes, and snippets.

@jonjack
Last active September 16, 2020 06:56
Show Gist options
  • Save jonjack/ae250f88107fad5df5599ca318e33ca9 to your computer and use it in GitHub Desktop.
Save jonjack/ae250f88107fad5df5599ca318e33ca9 to your computer and use it in GitHub Desktop.

Check whats available

brew search maven
==> Formulae
maven                maven-completion     maven-shell          [email protected]            [email protected]            [email protected]            [email protected]

==> Casks
mavensmate                                                                homebrew/cask-fonts/font-maven-pro

Search specifically for v3.0 releases.

Install

brew install [email protected]

Log.

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask-versions).
No changes to formulae.

==> Downloading https://www.apache.org/dyn/closer.cgi?path=maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz
==> Downloading from http://mirror.vorboss.net/apache/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz
######################################################################## 100.0%
==> Caveats
[email protected] is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have [email protected] first in your PATH run:
  echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment