How to Install Maven on Windows 11

In this guide, we install Apache Maven on a Windows 11 machine.
Learn Maven: https://www.javaguides.net/p/maven.html

YouTube Video

Steps to Install Maven on Windows 11

Here are the steps to install Apache Maven on a Windows operating system:

1. Download the Apache Maven Binary Zip Archive

1. Download the Apache Maven binary zip archive from the official website: https://maven.apache.org/download.cgi

Refer the below screenshot:

2. Extract the Zip

Extract the contents of the downloaded archive to a suitable location on your computer.

Refer the below screenshot:

3. Set up the Environment Variable

Add the bin directory of the extracted Maven archive to your system's PATH environment variable.

Refer the below screenshot:

4. Verify the Installation

Verify the installation by opening a new command prompt window and running the following command: 
mvn --version

Refer the below screenshot:


Once you install Maven successfully, you can use the command prompt to run, package, and deploy Maven projects. 

That's it! You have successfully installed Apache Maven on your Windows 11 machine.

Comments