Note: These instructions are over 3 years old. Please consult the Scala docs and the Almond docs for up-to-date instructions.
-
Download Scala https://www.scala-lang.org/download/
- check Java version (
java -version
) - Install Scala sbt
brew install sbt@1
You can use $SBT_OPTS to pass additional JVM options to sbt. Project specific options should be placed in .sbtopts in the root of your project. Global settings should be placed in /usr/local/etc/sbtopts
- check Java version (
-
Install coursier
brew install --HEAD coursier/formulas/coursier
-
Install almond
-
git clone https://github.com/willingc/almond.git
-
edit
project/plugin.sbt
- add
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.1.0-SNAPSHOT")
- add
-
bootstrap install
coursier bootstrap \ → -i user -I user:sh.almond:scala-kernel-api_$SCALA_VERSION:$ALMOND_VERSION \ → sh.almond:scala-kernel_$SCALA_VERSION:$ALMOND_VERSION \ → -o almond
-
./almond --install
-
@jimka2001 I would consult the Almond docs. This gist is over 3 years old, and I haven't used Scala in about the same time. Good luck!