1. Check Java version. If Java is not installed then follow steps mentioned here.
2. Check JAVA_HOME environment variable is already configured or add a new system variable.
2. Download the latest maven binary version from http://maven.apache.org/download.cgi – apache-maven-3.6.3-bin.zip
3. Extract the zip in C: directory.
4. Add a MAVEN_HOME variable and point it to the extracted directory.
5. Add %MAVEN_HOME%\bin to PATH.
6. Test the maven version.