• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

IntenseClick

  • Home
  • WordPress
  • Ethical Hacking
  • Coding
Home » How to Install Maven on Windows 2023 | Project management tool for Java applications

How to Install Maven on Windows 2023 | Project management tool for Java applications

April 30, 2023 by ιnтenѕeclιcĸ Team Leave a Comment

Here are the steps to install Maven on Windows:

  1. Download Maven from the Apache Maven website (https://maven.apache.org/download.cgi).
  2. Unzip the downloaded archive file to a directory of your choice. For example, you can extract it to C:\Program Files. Here’s what the unzipped directory should look like:
  3. Set the M2_HOME environment variable to point to the directory where you have unzipped Maven. To do this, open the Start menu and search for “environment variables”. Click on “Edit the system environment variables”.
  4. In the “System Properties” window that opens, click on the “Environment Variables” button.
  5. In the “Environment Variables” window that opens, click on the “New” button under “System variables”.
  6. In the “New System Variable” window that opens, enter M2_HOME as the variable name and the path to the directory where you have unzipped Maven as the variable value. For example, if you have extracted Maven to C:\Program Files\apache-maven-3.8.1, you should enter C:\Program Files\apache-maven-3.8.1 as the variable value.
  7. Click “OK” to close all the windows.
  8. Add the bin directory of Maven to your system’s PATH environment variable. To do this, open the Start menu and search for “environment variables”. Click on “Edit the system environment variables”.
  9. In the “System Properties” window that opens, click on the “Environment Variables” button.
  10. In the “Environment Variables” window that opens, find the “Path” variable under “System variables” and click on “Edit”.
  11. In the “Edit Environment Variable” window that opens, click on “New” and enter the path to the bin directory of Maven. For example, if you have extracted Maven to C:\Program Files\apache-maven-3.8.1, you should enter C:\Program Files\apache-maven-3.8.1\bin.
  12. Click “OK” to close all the windows.
  13. Verify the installation by opening a new command prompt window and running the command mvn -version. This command should display the version of Maven you have installed.

Congratulations, you have successfully installed Maven on Windows!

More tech articles

Generate secure and random password using PHP
Change HTML webpage color randomly on refresh and interval
Service host superfetch – slow pc ,high disk usage, disk full fix(svchost.exe)
Service Host Superfetch
What is Service Host Superfetch and How to Fix it
How To Fix Microsoft Compatibility Telemetry High Disk Usage Issue On Windows
PHP code for login page script

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Footer

insightful tech editorials to distribute useful tech guides and resources for free.

intenseclick@gmail.com

  • About us
  • Guest Post/Content Writing
  • Terms & Conditions
  • Privacy Policy
  • Disclaimer
  • Contact us

ιnтenѕeclιcĸ · © 2025

We use cookies to improve your experience on our website for personalised advertising and content. We respect your choices and are committed to providing you with a transparent and secure browsing experience.
Read moreAccept