This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-15
Channels
- # ai (35)
- # announcements (3)
- # babashka (16)
- # babashka-sci-dev (2)
- # beginners (37)
- # biff (16)
- # calva (5)
- # cider (2)
- # clj-commons (81)
- # clj-kondo (29)
- # cljfx (2)
- # cljs-dev (4)
- # clojars (4)
- # clojure (92)
- # clojure-europe (72)
- # clojure-losangeles (8)
- # clojure-nl (1)
- # clojure-norway (10)
- # clojure-uk (1)
- # clojurescript (20)
- # clojutre (2)
- # conjure (2)
- # data-science (18)
- # datomic (1)
- # emacs (10)
- # fulcro (49)
- # joyride (1)
- # kaocha (23)
- # leiningen (8)
- # lsp (14)
- # meander (5)
- # off-topic (93)
- # polylith (4)
- # re-frame (20)
- # reagent (9)
- # reitit (2)
- # remote-jobs (8)
- # sci (1)
- # shadow-cljs (21)
- # testing (3)
- # vim (27)
- # xtdb (35)
I am using Mac and I need to use a specific version (e.g. 2.9.4), which is older than current version. Does anyone have a clue on how this could be done, maybe using brew?
go to the leiningen repo, browse the tag corresponding to the version you want, download that bin/lein
file
you can name it as you wish e.g. lein
or lein-alt
. upon first run it will download any needed internals
and you can run lein upgrade 2.9.4
with that script to set whichever version you need
the versions of lein installed through package managers don’t allow you to change the version
if you use asdf there's a plugin for it https://github.com/miorimmax/asdf-lein
you can set a .tool-versions file per project so it automatically selects the right version for you