How to install Maven on Mac OS Mojave using Homebrew

Maven is a build automation tool used primarily for Java projects. Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple's macOS operating system and Linux. To install maven on Mac OS, use below command:

$ brew install maven

To check Maven is successfully installed, type below command:

$ mvn --version
Sun, 08/30/2020 - 23:34

Authored by

Tarun Goswami, works as a Technical Lead at the well-known IT services company. With Over 11+ years of experience in Quality Assurance, he writes engaging and informative blogs in his spare time.