You are viewing...

How to Install Maven on Windows

Updated on February 14, 2015 at the 15th hour
Posted under:

DISCLAIMER: Expressed views on this blog are my own.

Many of us who use maven are used to using apt-get or yum on linux based systems. Well, WINDOWS has a third party package management system called Chocolatey.

On their website, you run this command in an ADMINISTRATIVE command prompt (you know.. right click cmd and run as administrator):

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(''))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

and then choco install maven. Now you may have to specify a version (choco install maven -version 3.2.5), if the mirror chocolatey attempts to use does not have the version chocolatey is trying to download.

Use with your favorite IDE!

You just read "How to Install Maven on Windows". Please share if you liked it!
You can read more recent posts here.