Scala FAQ: How do I start a Scala REPL session from SBT (i.e., inside the Simple Build Tool)?
Answer: Use the
consoleQuick commands inside the SBT shell:
console to start a REPL session from inside SBT. This (a) compiles your Scala project and then (b) starts a REPL session.
consoleQuick if you don’t want to compile your project before starting a REPL session inside of SBT.
console command process looks like this:
[info] Loading project definition from /Users/al/Projects/Cats101/project
[info] Set current project to Cats101 (in build file:/Users/al/Projects/Cats101/)
[info] Starting scala interpreter...
Welcome to Scala 2.12.2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_131).
Type in expressions for evaluation. Or try :help.
If you wanted to see how to start a Scala REPL session from inside SBT, I hope this helps.