The Clojure install project is used to bootstrap a system to include Clojure, tools.deps.alpha, and the scripts necessary to use them to obtain more dependencies and run a Clojure repl or programs.
The installer assumes only that Java is available. The install tool is written in Java and uses the necessary Maven Aether libraries to traverse and download the initial dependency set.
In general, this project will be obtained and used within system installers rather than used directly.
Latest release: 0.1.10
Leiningen dependency information:
[org.clojure/clojure-install "0.1.10"]
Maven dependency information:
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure-install</artifactId>
<version>0.1.10</version>
</dependency>
clojure.tools.Install
The Install
program performs the following steps:
~/.clojure/clj.props
~/.clojure/clj.cp
or ~/.clojure/deps.edn
exist, copy them to backup files~/.clojure/clj.cp
- used when invoking tools.deps.alpha~/.clojure/deps.edn
- user-level deps map, for declaring default deps and artifact providersThis can be re-run to pick up manual changes in clj.props
.
clj.props
fileExample props file:
org.clojure/clojure=1.9.0-alpha17
org.clojure/tools.deps.alpha=0.1.14
org.clojure/spec.alpha=0.1.123
Copyright © 2017 Rich Hickey and contributors
Distributed under the Eclipse Public License, the same as Clojure.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close