Leiningen is a build automation and dependency management tool for the simple configuration of software projects written in the Clojure programming language. The following instructions were taken and adapted from leiningen.org.
-
Download the
lein
script. From the terminal, type:wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
-
Give the script execution permissions:
chmod +x lein
-
Move the script to the
/usr/bin
directory:sudo mv lein /usr/bin
-
To create a new application called
myapp
, type:lein new app myapp