Join Arthur Ulfeldt for an in-depth discussion in this video Install the Leiningen Build Tool, part of Up and Running with Clojure.
- View Offline
- Over the last few years Leningen…has become the premier de facto build tool…for the Clojure ecosystem.…So, let's get started installing it on your computer.…If you're running on a Mac,…the first thing you'll need is Java.…Leiningen runs on Java and uses…the JDK version of Clojure.…So, you'll need Java installed on your computer…preferably the Java Development Kit Version 1.6 or higher,…1.8 is preferable.…If you already have Java and it works,…you can go ahead and use that.…
The next thing you'll need is Homebrew.…Homebrew is available at brew.sh right there,…and we will use that to install the…actual Leningen tool.…It will also be used for many other tools,…so it's worth having.…Brew install leiningen.…Let's go ahead and see that in action.…So we've gone ahead and installed brew here.…See, we have brew, yep it works.…brew install leiningen.…Now that we've got Leiningen installed,…let's test it out and see if it works for us.…
Alright, so lein repl is the most…widely available and also the least capable…Clojure development environment.…
Arthur Ulfeldt covers the Leiningen build tool and setting up Clojure to work with the IntelliJ IDEA dev environment. He then reviews the basics of the syntax, including functions, expressions, values, macros, strings, and conditionals. He shows how to structure, compile, and deploy Clojure projects in Leiningen, and pull from Clojure's core library. In the final chapters, Arthur explores references and namespaces and points to resources to learn more about Clojure.
- Installing Leiningen
- Configuring IntelliJ IDEA
- Using REPLs to execute code
- Working with simple and composite values
- Mastering Clojure macros
- Exploring Clojure syntax
- Building a Clojure project with Leiningen
- Mapping, filtering, and reducing
- Binding and destructuring data
- Working with identities