Skip to content

Instantly share code, notes, and snippets.

@niquola
Created September 15, 2013 20:10
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 niquola/6574009 to your computer and use it in GitHub Desktop.
Save niquola/6574009 to your computer and use it in GitHub Desktop.
#!/usr/bin/sh
set -e
sudo apt-get install openjdk-7-jdk git-core wget -y # Ubuntu 12.04 meets no problem
wget --no-check-certificate -O ~/bin/lein https://raw.github.com/technomancy/leiningen/preview/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
cd clojurescript
./script/bootstrap
cd ../
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