set scala home code example Example: scala home set up export SCALA_HOME="/Users/USERNAME/scala-2.12.6"export PATH=$PATH:$SCALA_HOME/bin