1. Download the latest version of scala,http://www.scala-lang.org/
2. Unzip the tgz under the installation path you wish.
3. Configure the environment variables Scala_home, and path:
(1) Enter the bin directory under your Scala decompression path of the terminal, for example jaycicledembp:~ jaycicle$ CD scala-2.11.7/bin
(2) in the bin directory using sudo to enter the VIM edit mode, modify the configuration file profile: input sudo vim/etc/profile
(3) Add the corresponding environment variable scala_home, and path at the end of the file. For example, add the following two lines at the end
Scala_home= "/users/jaycicle/scala-2.11.7"
Path= "$PATH:/users/jaycicle/scala-2.11.7/bin"
(4) At this point, the configuration is successful, start from the new terminal, enter Scala if it appears as follows:
Welcome to Scala version 2.11.7 (Java HotSpot (TM) 64-bit Server VM, Java 1.7.0_71).
Type in expressions to has them evaluated.
Type:help for more information.
Scala>
Congratulations to you! Successfully open a Scala tour!
Mac OS Installation configuration Scala