Quick Start


Minimal Install


Clojure requires only Java 1.5 or greater, plus the Clojure JAR file itself.

Download and unzip Clojure. In the directory in which you expanded clojure.zip, run:
java -cp clojure-1.5.1.jar clojure.main
This will bring up a simple read-eval-print loop (REPL). From the REPL, try:
user=> (+ 1 2 3)
6
user=> (javax.swing.JOptionPane/showMessageDialog nil "Hello World")

Batteries Included


The vast majority of Clojure developers use Leiningen to create and manage Clojure projects.

Try Clojure Online


  • TryClojure provides a brower-based Clojure REPL
  • Himera provides a browser-baed ClojureScript REPL

Community Resources


Community volunteers maintain Getting Started documentation for a number of different tools and approaches.
Logo & site design by Tom Hickey.