Categories
Maven

How to install Maven in Windows 10

If you get an error “‘mvn’ is not recognized as an internal or external command, operable program or batch file”, Follow the steps below to install Maven correctly.

Step 1: Download Maven from Maven Website zip file

Step 2: Extract it to C folder

Step 3: Add MAVEN_HOME to system variable

Step 4: Add %MAVEN_HOME%\bin To PATH

Step 5: Test by checking “mvn -version”

if its showing mvn version then it’s correctly installed

Leave a 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.