Skip to main content

Scripting using all the powers of the Scala ecosystem

Scala CLI allows you to use Scala to create and enhance scripts with using all the goodies of Scala.

Use dependencies, declare tests or even package your scripts into native applications!


Scripting with Scala CLI

Scripts are as powerful as other programs

Scripts in Scala CLI can use dependencies and other features as standard Scala programs. Scala CLI is command-line first giving access to all its features without need for any configuration file or specific project structure.


Embeddable Scripts

Scala CLI can be set up in shebang lines, making your *.scala or *.sc files runnable

Scala CLI supports piping inputs and is designed to be embeddable in other scripts, turning Scala into proper scripting language