To run external shell commands in SBT, first start SBT from your operating system command line:
Then run the
After some output you’ll see this prompt:
Now you can execute shell commands by including them in double quotes, and following them by an exclamation mark, like this:
scala> "ls -al" !
For more information, see the SBT consoleProject documentation page.