This question already has an answer here:
- Maven Install on Mac OS X 18 answers
I'd like to know how to install maven(apache-maven-3.1.1) to mac using the terminal application without using brew.
If possible please explain in steps with commands.
without using brew!!
If you have homebrew installed, it should be as simple as
If you don't have homebrew installed (and you should have it installed) the installation instructions are here
You can download the apache-maven-3.1.1-bin-tar.gz copy that to /usr/share/java via
and unpack it via:
and finally add something similiar:
in your
.bash_profile
.That's it. But i would recommend to use a more up-to-date version 3.2.1 instead.