1. Installing sbt

Installing sbt 

To create an sbt project, you’ll need to take these steps:

  • Install JDK (We recommend Eclipse Adoptium Temurin JDK 8, 11, or 17).
  • Install sbt.
  • Setup a simple hello world project
  • Move on to running to learn how to run sbt.
  • Then move on to .sbt build definition to learn more about build definitions.

Ultimately, the installation of sbt boils down to a launcher JAR and a shell script, but depending on your platform, we provide several ways to make the process less tedious. Head over to the installation steps for macOS, Windows, or Linux.

Tips and Notes 

If you have any trouble running sbt, see Command line reference on JVM options.