How to setup multiple versions of Scala on Mac OS
In this post, we demonstrate how to install multiple versions of Scala on a MacOS environment. We will assume that the package manager HomeBrew is already installed.
Installing brew
To o install brew, follow the instruction here.
Installing latest version of Scala
To install the latest version of Scala is straightforward, type
To verify and check the installed Scala version, type
As of August 2015, the above set of command will install Scala version 2.11.x.
Installing Scala version 2.10
To install a different version of Scala, i.e., Scala 2.10, do the following
References
The above instruction set is a distillation of the following two gists:
Written on August 30, 2015