How to install & configure Maven in Linux?
Step 1 – Install JAVA 11
Step 2 – Download and Extract Maven to a destination dir.
eg.
$ sudo yum install wget unzip zip -y
$ cd /opt
$ wget https://mirrors.estointernet.in/apache/maven/maven-3/3.8.1/binaries/apache-maven-3.8.1-bin.zip
$ unzip apache-maven-3.8.1-bin.zip
Step 3 – Set Maven PATH
$ export PATH=$PATH:/opt/apache-maven-3.8.1/bin
Step 4 – Verify Maven Installation
$ mvn --version

How to install & configure Maven in Windows?
- Download maven from https://maven.apache.org/download.cgi
- Extract into a directory such as C:\tools\apache-maven-3.8.5-bin
- Add C:\tools\apache-maven-3.8.5-bin\bin into env "path"
- Go to cmd and type $ mvn --version










I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND