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.zipCode language: JavaScript (javascript)
Step 3 – Set Maven PATH
$ export PATH=$PATH:/opt/apache-maven-3.8.1/binCode language: JavaScript (javascript)
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
Code language: JavaScript (javascript)


I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals