Many of the exercises in this book can be done in the pages of the website, reducing the need to set up an environment for Clojure development.
repl.it gives you a web based Clojure environment that can be used to save answers to exercises and other Clojure experiments.
Choosing an Editor / IDE
The following tools can be used to create a development environment on your computer
- Java runtime environment (JRE) version 1.8 - test with
java -versionin a command line window
- Leiningen version 2.8.1 - test with
lein versionin a command line window
- A Clojure aware editor with REPL support, either:
- A Git client version 2.14.x (optional - to download code examples)
- A Github account - to fork the code examples & submit pull requests (optional)
Setting up your enviornment
See the section on Clojure Development Environments for details on how to set these tools up.
Hint You may notice that there is no actual Clojure installation. Clojure is a library that is added to the project, just like any other dependency (ie. in Maven, Gradle, etc).
The Clojure library is very small and Leiningen caches it and oll other libraries locally in the same folder structure that Maven uses, eg