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.

  1. Download the lein script. From the terminal, type:

    wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
  2. Give the script execution permissions:

    chmod +x lein
  3. Move the script to the /usr/bin directory:

    sudo mv lein /usr/bin
  4. To create a new application called myapp, type:

    lein new app myapp