Saturday, October 29, 2016

macOS Sierra: Installing Scala

Command:

$ brew install scala


Result:

==> Downloading https://homebrew.bintray.com/bottles/scala-2.11.8.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring scala-2.11.8.sierra.bottle.tar.gz
==> Caveats
To use with IntelliJ, set the Scala home to:
  /usr/local/opt/scala/idea

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/scala/2.11.8: 51 files, 30.9M


Command:

$ scala -version


Result:

Scala code runner version 2.11.8 -- Copyright 2002-2016, LAMP/EPFL


Command:

$ scalac -version


Result:

Scala compiler version 2.11.8 -- Copyright 2002-2016, LAMP/EPFL


Command:

$ fsc -version


Result:

Fast Scala compiler version 2.11.8 -- Copyright 2002-2016, LAMP/EPFL