The most popular way to get Scala is either using Scala through sbt, the Scala build tool, or to use Scala through an IDE.
First, make sure you have the Java 8 JDK installed.
To check, open the terminal and type:
java -version(Make sure you have version 1.8.)
(If you don't have it installed, download Java here.)
Then, install Scala:
...either by installing an IDE such as IntelliJ, or sbt, Scala's build tool.
Other ways to install Scala
Download the Scala binaries for
Need help running the binaries?
- Use Scastie to run single-file Scala programs in your browser using multple Scala compilers; the production Scala 2.x compilers, Scala.js, Dotty, and Typelevel Scala. Save and share executable Scala code snippets.
- Try Scala in the browser via ScalaFiddle. This lets you run single-file Scala programs in your browser using Scala.js, including graphical/interactive examples such as Oscilloscope or Ray Tracer
- Get Ammonite, a popular Scala REPL
Or are you looking for previous releases of Scala?
Release NotesFor a summary of important changes, see the GitHub release notes.
(Or consult our archive of older release notes.)
You can find the links to prior versions or the latest development version below. To see a detailed list of changes for each version of Scala please refer to the changelog.
Note that different major releases of Scala (e.g. Scala 2.11.x and Scala 2.12.x) are not binary compatible with each other.
You can find the installer download links for other operating systems, as well as documentation and source code archives for Scala 2.13.0-M2 below.
|scala-2.13.0-M2.tgz||Mac OS X, Unix, Cygwin||16.85M|
|scala-2.13.0-M2.msi||Windows (msi installer)||111.91M|
The Scala distribution is released under the 3-clause BSD license.