setting up intellij for java on mac code example Example: how to install intellij in mac brew cask install intellij-idea-ce