You are viewing...

How to Install Maven on Windows

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

DISCLAIMER: All views are considered my own and you should not draw any conclusions on associates.

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('https://chocolatey.org/install.ps1'))" && 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!

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