github maven installation on mac code example Example 1: install maven homebrew brew install maven Example 2: instal maven in mac brew brew install [email protected]