1. Installing sbt on macOS

Installing sbt on macOS 

Install JDK 

Follow the link to install JDK 8 or 11.

Or use SDKMAN!:

$ sdk list java
$ sdk install java 11.0.4.hs-adpt

Installing from a universal package 

Download ZIP or TGZ package, and expand it.

Installing from a third-party package 

Note: Third-party packages may not provide the latest version. Please make sure to report any issues with these packages to the relevant maintainers.

Homebrew 

$ brew install sbt

SDKMAN! 

$ sdk install sbt