DEPRECATED - this project is no longer active. See https://github.com/clojure/brew-install.
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.21
Leiningen dependency information:
[org.clojure/clojure-install "0.1.21"]
Maven dependency information:
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure-install</artifactId>
<version>0.1.21</version>
</dependency>
The Install
program performs the following steps:
- Given a Clojure config directory
- Read
CONFIG/clj.props
- Use those props to form a dependency set
- Download those dependencies and all transitive dependencies to the local Maven repository
- If
CONFIG/clj.cp
orCONFIG/deps.edn
exist, copy them to backup files - Create
CONFIG/clj.cp
- used when invoking tools.deps.alpha - Create
CONFIG/deps.edn
- user-level deps map, for declaring default deps and artifact providers
This can be re-run to pick up manual changes in clj.props
.
Example 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.