Scala 3.1.2

Are you looking for another release of Scala?

Scala binaries for 3.1.2 are available at github.

Release Notes

For a summary of important changes, see the GitHub release notes.
(Or consult our archive of older release notes.)

Ways to Install This Release

  • Using Coursier CLI, run:
    cs install scala:3.1.2 && cs install scalac:3.1.2.
  • Download the Scala binaries for 3.1.2 at github.
    Need help running the binaries?
  • Using SDKMAN!, you can easily install the latest version of Scala on any platform by running the following command:
    sdk install scala
  • On macOS you can also use Homebrew and run the following commands:
    brew update
    brew install lampepfl/brew/dotty
  • Use Scastie to run single-file Scala programs in your browser using multiple Scala compilers; the production Scala 2.x compilers, Scala.js, Scala 3, and Typelevel Scala. Save and share executable Scala code snippets.

Other Releases

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 2 (e.g. Scala 2.11.x and Scala 2.12.x) are not binary compatible with each other. Scala 3 minor releases (e.g. 3.0.x and 3.1.x) follow a different compatibility model .


The Scala 3.1.2 distribution is released under the Apache License, Version 2.0.