Does brew upgrade clojure also update tools.tools? Based on my https://clojurians.slack.com/archives/C6QH853H8/p1775056288291439?thread_ts=1772668753.414189&cid=C6QH853H8, maybe it does not?
I've had some weirdness with brew in that respect. I gave up and switched to the Linux/Posix installer scripts instead (and I have a wrapper script that downloads and installs the latest stable version based on the version file in the repo).
stable-properties -- but you have to know the major version since everything is on branches.
I could probably make my script smarter about figuring out the default branch in the repo...
it should be updated. the installer package contains a tools.edn file with a dependency on tools.tools. when you run the clojure or clj script itself it checks whether the installer package tools.edn is newer than the version you have in your config dir. If so, it copies the installer one into your config dir, effectively installing the new version. I tested this before the latest release, and it Worked on My Machine with the brew installer.
so I am curious @stuartsierra which installer you used
Well now I'm confused. 😆
brew list --full-name says I have clojure/tools/clojure installed.
If I run brew info on that:
$ brew info clojure/tools/clojure
==> clojure/tools/clojure ✔: stable 1.12.4.1618
The Clojure Programming Language
Installed
/opt/homebrew/Cellar/clojure/1.12.4.1618 (12 files, 17.5MB) *
Built from source on 2026-03-11 at 07:52:20
From:
License: EPL-1.0
==> Dependencies
Required: rlwrap ✔
But if I run brew info clojure I get:
$ brew info clojure
==> clojure ✔: stable 1.12.4.1618 (bottled)
Dynamic, general-purpose programming language
Installed
/opt/homebrew/Cellar/clojure/1.12.4.1618 (12 files, 17.5MB) *
Built from source on 2026-03-11 at 07:52:20
From:
License: EPL-1.0
==> Dependencies
Required: openjdk ✔, rlwrap ✔
==> Analytics
install: 1,185 (30 days), 2,799 (90 days), 9,237 (365 days)
install-on-request: 1,185 (30 days), 2,791 (90 days), 9,220 (365 days)
build-error: 0 (30 days) I think it's saying the same thing, brew info just assumes that clojure is the default Homebrew package and not the clojure/tools/clojure one.
Yes, those are different formulas
But as far as tools.tools stuff goes, there should be no difference
I guess packaging could be different wrt to timestamps
Who knows. 🤷♀️ There's a lot of automated setup weirdness on this machine.
brew is wild. If you brew install clojure, not only will you get an openjdk of brew's choosing, but it installs all sorts of other things as dependencies, including sqlite...
The clojure/tools/clojure tap is better, but it still added libyaml, gperf and ruby 😐