3

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,404
  • 3
  • 13
  • 21

2 Answers2

2

The default path is given by

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

as used by pomegranate.

A. Webb
  • 25,817
  • 1
  • 59
  • 90
1

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
  • 19,826
  • 2
  • 40
  • 48