scala-cli Command Examples

Interact with the Scala programming language. More information: https://scala-cli.virtuslab.org/docs/overview/.

scala-cli --scala {{3.1.0}} --jvm {{temurin:17}}

scala-cli run {{path/to/script.scala}}

scala-cli test {{path/to/script.scala}}

scala-cli fmt {{path/to/script.scala}}

scala-cli setup-ide {{path/to/script.scala}}