Run this command in a terminal/commandline to find out:
mvn -v
- Have brew installed: https://brew.sh/
- Run this command in a terminal/commandline
brew install maven - Check if it is installed now
- Run this command in a terminal/commandline
sudo apt install maven - Check if it is installed now
- download maven: https://maven.apache.org/download.cgi
- add bin directory to
PATHenvironment variable, see: https://maven.apache.org/guides/getting-started/windows-prerequisites.html - Check if it is installed now
- Have choco installed: https://chocolatey.org/install#install-step2
choco install maven
more info https://chocolatey.org/packages/maven - Check if it is installed now