Skip to content

Instantly share code, notes, and snippets.

@devdave
Last active December 19, 2015 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devdave/5889215 to your computer and use it in GitHub Desktop.
Save devdave/5889215 to your computer and use it in GitHub Desktop.
#!/usr/bin/sh
set -e
sudo apt-get install openjdk-7-jdk git-core curl -y # Ubuntu 12.04 meets no problem
mkdir -p ~/bin
curl https://raw.github.com/technomancy/leiningen/preview/bin/lein > ~/bin/lein
chmod 755 ~/bin/lein
# Add ~/bin to your $PATH, it has been done if in Ubuntu 12.04
lein # the first time it will install itself
#git clone git://github.com/clojure/clojurescript.git ~/clojurescript
#cd ~/clojurescript/script/bootstrap
echo "now launch something: (for example)"
echo "java -version"
echo "lein repl"
echo "./clojurescript/script/repljs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment