Example (Windows): Add C:\maven\apache-maven-3.6.3\bin to the Path.

Name Last modified Size Description Parent Directory - apache-maven-3.6.3-bin.tar.gz 2019-11-19 21:50 9.1M apache-maven-3.6.3-bin. Apache Software Foundation Release Notes [–] Maven 3.6.3

Add the bin folder from your extracted Maven directory to your system's Path variable.

Example (Linux/macOS): Add export PATH=/opt/maven/apache-maven-3.6.3/bin:$PATH to your profile.

Ensure you have a JDK (Java Development Kit) installed. Create a system environment variable named JAVA_HOME pointing to your JDK installation path.

Open a new terminal or command prompt and type: mvn -version Use code with caution.