How to install Scala on Mac OS X

In this Post we will see  How to Install Scala on Mac OS X.

There are Two ways using which we can install Scala.

  1. Install Scala using homebrew installer.
  2.  Or Install scala manually

 Install Scala using homebrew installer

Step 1 . Install Homebrew

Open the terminal and run

The above command may change in future, to please visit for the most latest command to install homebrew.

Step 2. Install scala

 Install scala manually

Step 1. Download scala-X.XX.tgz zip file from the official website.

Step 2. Unzip the .tgz file. open terminal and run

step 3.  move scala-X.XX.tgz to /usr/local folder

Step 4. Open your .bash_profile file

Step 5.  Add scala/bin path to your PATH

Step 6. reload .bash_profile from the command line

Finally verify scala


Apache Spark and Scala Certification Training

Video Instructions – How to install Scala on Mac OS X