Clojure Coding Quick Start

To run Clojure and the code in this book, you need two things:

  • A Java runtime. Download[11] and install Java version 5 or greater. Java version 6 has significant performance improvements and better exception reporting, so prefer this if possible.

  • Leiningen.[12] Leiningen is a tool for managing dependencies and launching tasks against your code. It is also the most common tool for this job in the Clojure space.

You will use Leiningen to install Clojure and all of the dependencies for the sample code in this book. If you already have Leiningen installed, you should be familiar with the basics. If not, you should take a quick tour of Leiningen’s GitHub page,[13] where you will find install instructions as well as ...

Get Programming Clojure, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.