To run Scala from the command-line, simply download the binaries and unpack the archive.
Start the Scala interpreter (aka the “REPL”) by launching
scala from where it was unarchived. Start the Scala compiler by launching
scalac from where it was unarchived.
Path and Environment
For quick access, add
scalac to your path. For example:
Get Started with Scala
Check out the “first lines of code” section of our getting started guide to take your first steps in Scala.