CmdID

CmdID / Commands

scala-cli

Interact with the Scala programming language. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Start a REPL (interactive shell) using a specific Scala and JVM version

scala-cli --scala 3.1.0 --jvm temurin:17Identify

Compile and run a Scala script

scala-cli run path/to/script.scalaIdentify

Compile and test a Scala script

scala-cli test path/to/script.scalaIdentify

Format a Scala script, updating the file in-place

scala-cli fmt path/to/script.scalaIdentify

Generate files for IDE (VSCode and IntelliJ) support

scala-cli setup-ide path/to/script.scalaIdentify