<h3 id="step1-去官网地址下载">Step1: 去官网地址下载
.bash_profile中添加
export M2_HOME=/Tool/apache-maven-3.5.3 export PATH=$PATH:$M2_HOME/bin 添加之后保存并推出,执行以下命令使配置生效: source ~/.bash_profile
mvn -v