5

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 ##?

eriq
  • 1,524
  • 3
  • 13
  • 22

2 Answers2

3

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

noisesmith
  • 20,076
  • 2
  • 41
  • 49
3

The default path is given by

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

as used by pomegranate.

A. Webb
  • 26,227
  • 1
  • 63
  • 95