Leiningen is the defacto build tool for clojure projects. Installing in any corporate environment probably means you will need to install behind a proxy, which I found wasn’t that well documented even though it’s very simple with just a few steps:
- Set the environment variables http_proxy and https_proxy, leiningen will honor these settings.
- Download the lein installer script from http://leiningen.org/#install
- Make sure the script is executable & on your path
- Run it with the argument self-install, for example on windows run lein.bat self-install
After that you will have it installed, from anywhere on your machine run lein new my-project and get to work!