Manven下载
![](https://images2018.cnblogs.com/blog/1192193/201805/1192193-20180530105756437-558483038.png)
2.点击下载链接
3.解压zip到安装路径 我的:C:\Program Files\apache-maven-3.5.3
4. 配置环境变量
4.1 创建M2_HOME环境变量,指向maven的安装目录。![]()
![](https://images2018.cnblogs.com/blog/1192193/201805/1192193-20180530105827959-1118382845.png)
4.2 将%M2_HOME%\bin追加到PATH路径中。
![](https://images2018.cnblogs.com/blog/1192193/201805/1192193-20180530105903207-1896086612.png)
5. 调试是否安装成功,在cmd中输入 mvn -version
![](https://images2018.cnblogs.com/blog/1192193/201805/1192193-20180530105920084-1301215614.png)
Manven配置文件:conf\\settings.xml
Maven 运行脚本: bin
Maven 自己的类加载器: boot
Maven 运行时所需要的类库: lib