Skip to content

Instantly share code, notes, and snippets.

@mkarmona
Last active May 21, 2021 10:13
Show Gist options
  • Select an option

  • Save mkarmona/d941c9985551684153e7a704b34b2229 to your computer and use it in GitHub Desktop.

Select an option

Save mkarmona/d941c9985551684153e7a704b34b2229 to your computer and use it in GitHub Desktop.
#!/bin/bash
mkdir ~/.ammonite
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
wget https://raw.githubusercontent.com/mkarmona/rc/master/.tmux.conf -O ~/.tmux.conf
wget https://raw.githubusercontent.com/mkarmona/rc/master/.ammonite/resolvers.sc -O ~/.ammonite/resolvers.sc
wget https://raw.githubusercontent.com/mkarmona/rc/master/.ammonite/shell.sc -O ~/.ammonite/shell.sc
wget https://raw.githubusercontent.com/mkarmona/rc/master/.ammonite/spark.sc -O ~/.ammonite/spark.sc
wget https://raw.githubusercontent.com/mkarmona/rc/master/.ammonite/spark-cluster.sc -O ~/.ammonite/spark-cluster.sc
wget https://raw.githubusercontent.com/mkarmona/rc/master/.ammonite/spark-nlp.sc -O ~/.ammonite/spark-nlp.sc
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install sbt 1.5.2
sdk install scala 2.12.12
sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/2.3.8/2.12-2.3.8) > ~/amm && chmod +x ~/amm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment