- Optional: Install Java 8+ (prefer the JDK)
- Optional: you might have to refer to OS or distribution-specific instructions in order to ensure that Java executables are on your path.
- Scala's Coursier tool might perform pre-requisite verifications for you, and print out inline instructions or references to assist you through the setup.
- Install Scala
This is a normal sbt project. You can compile code with sbt compile
, run it with sbt run
, and sbt console
will start a Scala 3 REPL.
For more information on the sbt-dotty plugin, see the scala3-example-project.