e.g., personally I install sbt and scala on MacOS using Homebrew see discussion at https://github.com/scala/scala-lang/pull/957 ; see also https://kotlinlang.org/docs/tutorials/command-line.html