org.clojure/clojure {:mvn/version "1.12.0"}
New to Clojure? Head to the Getting Started guide instead for information on how to install the Clojure tools! These tools allow you to start a REPL for interactive use, download Clojure libraries (including Clojure itself), and run Clojure programs. |
Include the release in your project using the following coordinates:
deps.edn coordinate:
org.clojure/clojure {:mvn/version "1.12.0"}
Leiningen dependency:
[org.clojure/clojure "1.12.0"]
Clojure 1.12.0 depends on the following core libraries:
Using Clojure with a tool like the Clojure CLI or Leiningen will automatically include these libraries as transitive dependencies.
Clojure depends on Java and all Clojure code is compiled to Java 8 compatible bytecode (newer versions of Java can load this as well).
Minimum runtime dependency: Java 8
Supported: LTS (long term support) releases, currently Java 8, Java 11, Java 17, Java 21
Others: likely work, but not officially supported
Read the Changelog for detailed release information.
For older releases, see Older Releases
Clojure source code is hosted at github.com/clojure/clojure. Builds of the very latest version of Clojure’s master branch are available at oss.sonatype.org.
Specify the version of Clojure that you want in your deps.edn:
{:deps
{org.clojure/clojure {:mvn/version "1.12.0"}}}
Modify the dependencies and repositories sections of your Leiningen project.clj file, specifying the version of Clojure that you want:
; under dependencies, select the release of clojure that you want
:dependencies [[org.clojure/clojure "1.12.0"]]
Most tools do not automatically include the sonatype snapshot repositories. To use SNAPSHOT releases, you must add this to your configuration:
Add an additional repository in deps.edn:
{:mvn/repos
{"sonatype-oss-public" {:url "https://oss.sonatype.org/content/groups/public/"}}}
See the download key page for more on verifying Maven downloads against the Clojure public key.