Ah … this is interesting.
One of the things I had been trying was @seancorfield’s instructions here : GitHub - seancorfield/clj-new: Generate new projects based on clj, Boot, or Leiningen Templates!
Specifically with the section entitled “Installation via deps.edn”
In that directory I had made a deps.edn file based on his suggestion there. And when I ran
clj -Mtools
I got
clj -Mtools
Clojure 1.11.1
user=>
But actually when running the same thing outside that directory, I’m seeing
clj -Mtools
Clojure 1.10.1
user=>
So maybe I only have 1.10.1 installed “globally” and I was being misled by trying some of the things in that local context that was defined by having that deps.edn in the directory.
This would probably explain some of the mystery.
So, OK, what I need to do is to update Clojure cli.tools from 1.10 to 1.11
Is there really no way to do that except using homebrew? I don’t really want to bring yet another package manager into my life, as I already seem to have way too many.
But I assume clj doesn’t know how to upgrade itself then?