Skip to content

Installing and Verifying SBT

writing-sample

To create batch workflows, you need SBT 1.6.

Install SBT

To install SBT, open a terminal window and:

  1. Check the version by typing sdk list sbt | grep "1\.6". This should return a list of SBT versions.

    • If v1.6 is not installed, continue to step 2.
    • If v1.6 is installed, verify the installation and/or continue to the next page.
  2. Download and install version 1.6 by typing, sdk install sbt 1.6.2.

  3. Set the version to 1.6 by typing sdk default sbt 1.6.2.

Verify SBT

To verify that you have the correct version of SBT (1.6.2), open a terminal window and:

  1. Type which sbt. The output results should look similar to the following:

    /Users/<your_username>/.sdkman/candidates/sbt/current/bin/sbt
    
  2. Type sbt --version. The output results should look similar to the following:

    sbt version in this project: 1.6.2
    sbt script version: 1.6.2