Installation
Create a launcher
- Set the desired version of Scala and Almond as environment variables:
$ SCALA_VERSION=2.12.8 ALMOND_VERSION=0.2.3-SNAPSHOT
The available versions of Scala and Almond are can be found here.
Adjust ALMOND_VERSION
and SCALA_VERSION
at your convenience to meet your
needs. Not all combinations are guaranteed to be available. See the available
combinations here).
- Create a launcher via coursier:
$ coursier bootstrap -r sonatype:snapshots \
-r jitpack \
-i user -I user:sh.almond:scala-kernel-api_$SCALA_VERSION:$ALMOND_VERSION \
sh.almond:scala-kernel_$SCALA_VERSION:$ALMOND_VERSION \
-o almond
Install the almond kernel
- Run the launcher to install the almond kernel:
$ ./almond --install
- Once the kernel is installed, you can use it within Jupyter or nteract.
If you are satisfied that the kernel is working properly, you may safely
remove the almond launcher: rm -f almond
Getting help about the launcher
- Help:
./almond --help
- Available options:
Once the kernel is installed, the generated launcher can then be safely removed, with rm -f almond
.