How to Install Apache Maven on Windows?
Last Updated :
04 Jan, 2025
Apache Maven is an automation tool. The tool is written in Java. It was initially released on 13 July 2004. It is developed by the Apache software foundation. It is part of the Jakarta Project. It is working on two aspects: how software is built, and its dependencies. It was created by Jason van Zyl. It is built by using a plugin-based architecture that allows it to make the use of any application controllable by standard input. It dynamically downloads Java libraries.
How to Install Maven on Windows
Follow the below steps to install Apache Maven on Windows:
Step 1: Download Maven Zip File and Extract

1. Click on the Download button.

2. Click on the apache-maven-3.8.4-bin.zip button.

3. Now check for the executable file in downloads in your system

4. Now right-click on the file and click on extract here to extract the file.

5. After extracting, you get the extracted folder.

6. Now copy the extracted folder.

7. Now paste the copy folder in your windows drive in the Program files folder.

8. Now the Permission Windows appears to paste the folder in program files then click on “Continue”.

9. Now open the folder apache maven.

10. Now after opening the folder then copy the address of the folder in program files.

Step 2: Add MAVEN_HOME System Variable
1. Now click on Start Menu and search “Edit the system environment variables” and open it.

2. After opening System, Variable New window appears, and click on “Environment Variables…”

3. Now click on New under user variable.

4. Now you can write any variable name and then paste the address we copy from program files in the variable value and then click on OK.

Step 3: Add MAVEN_HOME Directory in PATH Variable
1. Now go to the “System variables” Path option and double click on Path or Click on the Edit button.

2. Now click on New Button.

3. After New Paste the address we copy from program files to new.

4. After pasting the address add the \bin in the last and then click on OK.

5. Now click on the OK button.

6. Click on the OK button.

Step 4: Verify Maven Installation
1. Now your Apache Maven is installed on your computer. You may check by going to the “Start” menu typing Command Prompt. Open it.

2. When the Command Prompt opens, type mvn -version and click the enter button on the keyboard.

3. Now command prompt shows the version of Apache Maven installed on your windows.

You have successfully installed Apache Maven on your Windows 10 system.
Similar Reads
How to Install Apache JMeter on Windows? The Apache JMeter⢠application is open-source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. It can be used to simulate a heavy load on a
2 min read
How to Install Apache Tomcat on Windows? Apache Tomcat which is short for âTomcatâ is a free, open-source Java Servlet, Java Expression Language, JavaServer Pages, and WebSocket implementation. Tomcat is an HTTP web server that basically runs Java code in a âpure Javaâ environment. Here, we will see how to install Tomcat 10 on Windows 10 f
3 min read
How to Install Apache OpenOffice on Windows? Apache OpenOffice is an open-source office suite. It provides free applications for spreadsheets, word processing, presentations, graphics, databases, etc. It was initially released on 1 May 2002 and developed by Sun Microsystems (1999â2009), Oracle Corporation (2010â2011). It is easy to use and ava
3 min read
How to Install Apache Maven on Windows, macOS, and Linux? Apache Maven is a comprehensive build automation tool widely used for managing and building Java projects. It simplifies the process of managing project dependencies and building projects through a standardized approach. This article provides step-by-step instructions to install Apache Maven on Wind
4 min read
How to Install Magento2 on Windows? Magento is a powerful open-source e-commerce web application written in PHP. It was developed by Magento, inc 31 march 2008. Magento was built using the Zend framework, it uses entity attribute value(EAV) database model to store value and there is an only free version available by the Magento commun
4 min read