The Very Basics

To get started you need to install some development tools. There’s a wide selection of Clojure development environments and build tools available—everything from the clj tool that comes packaged with Clojure starting with version 1.9 to the IntelliJ-based Cursive to Emacs and Cider and boot.[2] [3] [4] [5] [6] [7] But in this book we’re mostly going to stick to the popular Clojure development tool Leiningen. So if you haven’t already, head over to the Leiningen website and follow the installation instructions for your operating system.[8] While you’re there, you might also note that it’s pronounced LINE-ing-en.

By tradition, the first program you write when learning a programming language simply prints a greeting. Here’s the ...

Get Getting Clojure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.