Leiningen Build tool
Leiningen (pronounced line-ing) is the build automation tool used to manage Clojure projects. Features include:
- Creating Clojure Projects
- Dependency Management
- Running browser-REPL interactive environment (figwheel plugin)
Install Leiningen by saving the Leiningen install script to somewhere on your operating system path, eg
~/binand then running that script from the command line.
On Linux and MacOSX, make the script executable first and then run the
chmod a+x ~/bin/lein lein
hint I create a
~/bindirectory and add it to my operating system execution path ($PATH), placing the
~/binso I can call it from anywhere on the filesystem.
The first time you run this script it downloads a Java archive file (JAR) of the latest version of Leiningen. When you run the script again, you have a working Leiningen build tool.
Test that Leiningen is installed with the following command
Output should look similar to:
Leiningen 2.7.1 on Java 1.8.0 Java HotSpot(TM) 64-Bit Server VM