Scala Language Setting up Scala Mac OSX via Macports

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

On Mac OSX computers with MacPorts installed, open a terminal window and type:

port list | grep scala

This will list all the Scala-related packages available. To install one (in this example the 2.11 version of Scala):

sudo port install scala2.11

(The 2.11 may change if you want to install a different version.)

All dependencies will automatically be installed and your $PATH parameter updated. To verify everything worked:

which scala

This will show you the path to the Scala installation.

scala

This will open up the Scala REPL, and report the version number installed.



Got any Scala Language Question?