This sheet assumes that you are in the root directory of the project, containing the build.sbt. $ indicates a command prompt and > indicates commands run inside the SBT console.
Compile a project
$ sbt compile
Test a project
$ sbt test
Enter SBT REPL:
$ sbt
Enter Scala Console with B...