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!

gifs/scripting.gifgifs/scripting.gif

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.

gifs/powerful_scripts.gifgifs/powerful_scripts.gif

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

gifs/embeddable_scripts.gifgifs/embeddable_scripts.gif