$mvnThe printout will indicate whether maven is installed or not. If not, run the following command to install:
$sudo apt-get install maven2After maven is installed, its home directory is at /usr/share/maven2 (depending on your version)
To install maven on MacOS, run "$mvn --version" to check whether it is installed. If not, run the following command in the terminal to install:
$brew install mavenAfter the installation, to find the installation path of maven, type the following command:
$mvn --version
No comments:
Post a Comment