1 min read

Open terminal and run the following command:

vi ~/.zshrc
export M2_HOME=/Users/<username>/Desktop/apache-maven-3.8.1 
export PATH=${M2_HOME}/bin:${PATH} 
export PATH
mvn -version
Orestis Pantazos

Orestis Pantazos

DevOps Engineer