How do I run a scala script from the Terminal

Zen
New Contributor III

Hello,

how do I run a scala script from a Terminal on Databricks - Web Terminal, or from a cell with %sh

just doing `scala -nc script.scala` is not working.

Thanks,