Scala Shell

• 1 minute read

Scala Shell (scalash) is a shell for programming in Scala. Scalash is run from the command line and allows the programmer to experiment with code in real time. It allows you to enter Scala commands at the prompt and have the interpreter respond immediately.

A quick summary of the features present:

  • colourized output (highlighting)
  • auto-completion, aka Tab-completion
  • start script support - when an interactive shell is started, Scala Shell reads and executes commands from ~/.scalarc, if that file exists.
  • persistent history (~/.scala_history)
  • command history
  • command load

You can install the current release directly with Scala Bazaar:

sbaz update
sbaz install scalashell-scala