Scala and SBT set up for the command line on OSX

  1. Install the Java SE SDK from (you can install multiple versions – 1.7, 1.8 …)
  2. Get Homebrew from if you haven’t already and brew update & brew install sbt
  3. For vim install the vim-scala plugin from
  4. Create the obligatory Hello X App.
    mkdir HelloSbt & cd HelloSbt & vi Hello.scala
  5. Create a build file.
    vi build.sbt
  6. Run sbt from the command line  then run to execute. This will install the latest version of sbt and the version of scala specified in the build file.
  7. exit to leave the sbt console

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.