Do a significant amount of people still use leiningen with clojure?

It’s been a few years since I was deep into clj/cljs, and I am wondering if there are a lot of people who still use https://leiningen.org/ ?

fwiw I did find a number of recently updated repos on github using it Repository search results · GitHub

Yup - we use it every day to automate Clojure projects without setting our hair on fire.

2 Likes

I think by surveys, the numbers are close to 50%, with deps gaining ground over the years.

I still reach for lein for new projects, and only really use deps if there’s a dependency I need to hack on that uses it.

According to Q21 of Clojure - State of Clojure 2023 Results, about 60% of users still use Leiningen for at least some projects, but the Clojure CLI usage overtook it for the first time with about 70% using deps.edn for at least some projects.

Shadow-cljs seems to have become pretty much the de facto standard for working with ClojureScript these days.

3 Likes

We use it heavily.

Regarding Shadow, we were late to the party (we were reluctant initially), but it is paying off now.

1 Like

I think for a lot of projects that are already using Lein, I imagine there’s not really a pressing reason to switch to deps as Lein (at least in my experience) works quite well.

Not to mention as well that a lot of books out there are teaching Lein, and not deps (probably because a lot of them were written before deps got popular).

1 Like

Reminds me, I should have posted this when I replied: Clojure Guides: Getting Started (clojure-doc.org) (talks about Leiningen vs Clojure CLI).

2 Likes

For me the Clojure Guide explain perfectly:

"Leiningen is “easy”. The CLI is “simple”.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.