Skip to main content

Scala application launcher and interactive interpreter.

# To start a Scala interactive shell (REPL):
scala

# To execute a Scala script:
scala script.scala

# To execute a .jar program:
scala filename.jar

# To execute a single Scala command in the command line:
scala -e command