How to download and Install Apache Maven in Windows 11–2023

Rajesh Srinivas
2 min readNov 14, 2023

--

Hello folks, in this read let’s see how to install and setup Latest maven in Windows 11. My name is Rajesh and welcome to my page. Let’s start….

  1. Launch the official Maven site — https://maven.apache.org/download.cgi to land into the downloads page with latest version being on display
  2. On Nov 14th 2023 version 3.9.5 was the latest one so I’m going with it.
  3. In the Files section click on the 2nd link in the Links Column

4. A .zip file will be downloaded to the Downloads folder in your system, now Extract the same to find the folder with name “apache-maven-3.9.5-bin”. Copy this folder to C drive Program Files and paste it inside.

5. Now click on the windows button to open the search bar and type “Edit Environment Variables” and click on the Edit window

6. System Properties window opens up, click on the “Environment Variables” button on bottom right to open Environment Variables window

7. Now click on the New button under System Variables and enter variable name as “MAVEN_HOME” and value as “C:\Program Files\apache-maven-3.9.5” and click on OK button to save

8. In System variables section click on “Path” row and select it and then click on “Edit” button.

9. Click on New button and enter the bin path of maven — C:\Program Files\apache-maven-3.9.5\bin and click on OK button and save and close the windows opened in Env Variables section.

10. Now open cmd and enter “mvn -version” or “mvn -v” or “mvn — version” to see the below o/p.

Thanks for reading and happy working :)

--

--

Rajesh Srinivas

Starting to write stuff, will see how far i can scale and share info with my fellow friends..!!