在 Linux 或者 MacOS 咱們能夠直接經過 Homebrew 這個工具去安裝 maven 在終端命令中,執行下面的命令maven
brew install maven
驗證 Maven 是否安裝成功,使用工具
mvn -version