3

Leiningen offers the ability to add a project to the local repository, the help text is:

> lein help install
Install jar and pom to the local repository; typically ~/.m2.

Cautious of making a mess while experimenting, is there a way within Leiningen of managing the local repository? And removing packages installed by mistake?

For Maven, I did find this question and answer - which suggests deleting files, is that the best way? (And anything to be careful of if deleting manually?)

matt_t_gregg
  • 192
  • 9

1 Answers1

12

Just delete the relevant files under ~/.m2; there's nothing to fear... (but fear itself)

Lein uses ~/.m2 for storing all dependencies locally

Chen Fisher
  • 1,405
  • 12
  • 12