~$ brew install scala
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
abcm2ps dynare json-fortran spirv-cross
acpica flatcc juju step
aide fortio khal swagger-codegen@2
anycable-go fselect kubernetes-cli tbb
armadillo futhark lf terragrunt
aubio gdal libssh2 vim
autossh git-fixup llnode wsk
bartycrouch gitlab-runner micropython xxhash
bettercap glooctl octave ykpers
bowtie2 gosu phpunit zabbix
cabextract hadolint polyml
cppad istioctl presto
derby jenkins pushpin
==> Downloading https://downloads.lightbend.com/scala/2.12.8/scala-2.12.8.tgz
######################################################################## 100.0%
==> Caveats
To use with IntelliJ, set the Scala home to:
/usr/local/opt/scala/idea
==> Summary
🍺 /usr/local/Cellar/scala/2.12.8: 42 files, 20.8MB, built in 28 seconds