1. Installing sbt on macOS

Installing sbt on macOS 

Install JDK 

Follow the link to install JDK 8 or 11.

Or use SDKMAN!:

$ sdk install java $(sdk list java | grep -o "8\.[0-9]*\.[0-9]*\.hs-adpt" | head -1)

SDKMAN! 

$ sdk install sbt

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