Download the Apache Maven binary ZIP archive from the official Apache Maven website
Extract the ZIP file to a folder such as `C:Program FilesApachemaven`
Set the `MAVEN_HOME` or `M2_HOME` environment variable to the Maven installation folder
Add `%MAVEN_HOME%bin` to the `Path` environment variable
Open Command Prompt
Run `mvn -version` to verify the installation
Install Java if it is not already installed
Set the `JAVA_HOME` environment variable to the JDK installation folder
Add `%JAVA_HOME%bin` to the `Path` environment variable if needed
Restart Command Prompt or your system if the new environment variables are not recognized
