We assume the you have installed Java version 1.8 or 11, for example doptopenjdk11, see How to install multiple java versions

Sbt

brew install sbt

First project

You can follow How to create scala project with sbt for setting up first project.

Scala

You can also install scala by

brew install scala

ZSH Plugin

plugin=(
    ...
    sbt
    ...
)

Updated: 2020-12-11