Skip to content

Instantly share code, notes, and snippets.

@rbf
Created July 26, 2012 12:19
Show Gist options
  • Save rbf/3181725 to your computer and use it in GitHub Desktop.
Save rbf/3181725 to your computer and use it in GitHub Desktop.
Get leiningen
# Following instruction from http://leiningen.org/
# Download the 2.x preview release, which is recommended as of 26jul2012, to your $PATH (here using /usr/local/bin)
sudo curl -L -o '/usr/local/bin/lein' 'https://raw.github.com/technomancy/leiningen/preview/bin/lein'
# For the 1.x stable release run instead:
sudo curl -L -o '/usr/local/bin/lein' 'https://raw.github.com/technomancy/leiningen/stable/bin/lein'
# Set it to be executable
sudo chmod a+x /usr/local/bin/lein
# launch lein and verify installation
lein help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment