eriq
eriq

Reputation: 1564

Where does Leiningen install the clojure libraries?

Runnig lein for the first time, it installs clojure, but were to? It does not seem to be in /Library ... ~/Library ... ~/.lein ...

Is there an established location for clojure.jar and the contribution jars on Unix/OS X## Heading ##?

Upvotes: 5

Views: 1016

Answers (2)

A. Webb
A. Webb

Reputation: 26466

The default path is given by

(.getPath (clojure.java.io/file (System/getProperty "user.home") ".m2" "repository")))

as used by pomegranate.

Upvotes: 3

noisesmith
noisesmith

Reputation: 20194

Leiningen uses maven (or, to be more precise, the underlying libs which implement maven), which by default will install all dependencies under $HOME/.m2/.

Upvotes: 3

Related Questions