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@1You 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
-
Question, is step three correct? I think the file is named
plugins.sbtnotplugin.sbt. Please verify whether the doc above has a typo or which I need both files.