tools-deps

danielcompton 2026-01-07T18:28:53.051059Z

On https://github.com/clojure/homebrew-tools, I think the order of uninstalling and installing clojure from Homebrew core should be changed

$ brew install clojure/tools/clojure
  brew upgrade clojure/tools/clojure
  brew uninstall clojure
✔︎ JSON API formula.jws.json                                                                                                                                                                               Downloaded   32.0MB/ 32.0MB
✔︎ JSON API cask.jws.json                                                                                                                                                                                  Downloaded   15.3MB/ 15.3MB
Error: clojure was installed from the homebrew/core tap
but you are trying to install it from the clojure/tools tap.
Formulae with the same name from different taps cannot be installed at the same time.

To install this version, you must first uninstall the existing formula:
  brew uninstall clojure
Then you can install the desired version:
  brew install clojure/tools/clojure
Warning: clojure/tools/clojure 1.12.1.1550 already installed
Uninstalling /opt/homebrew/Cellar/clojure/1.12.1.1550... (14 files, 17.3MB)
It wants the old one uninstalled before adding the new one

Alex Miller (Clojure team) 2026-01-07T18:48:30.938789Z

that's not a list of steps, that's a list of commands. if you already have it installed, you should use brew upgrade

Alex Miller (Clojure team) 2026-01-07T19:11:41.639499Z

the main instructions for clj install are at https://clojure.org/guides/install_clojure. this page is really just a short overview of the tap (which most people never look at). I'm curious to know your path to how you ended up here

Alex Miller (Clojure team) 2026-01-07T19:14:25.913579Z

I updated the tap page to clarify that these are separate commands, not installation steps

danielcompton 2026-01-07T20:10:39.600289Z

Oh right, I thought it was to migrate away from homebrew-core’s version to the Clojure tap. I was looking at it because I was trying to install old versions of clojure to track down a bug we had when we upgraded to the latest version

Alex Miller (Clojure team) 2026-01-07T20:22:16.505049Z

well, if there's a bug, let me know!

danielcompton 2026-01-07T20:23:10.362009Z

Will do, I suspect it might be because we were upgrading from 1.10.3.1029 which is quite old and there was some change we didn’t account for. Although the issue manifested when running in production, not during the build. Anyway, not sure yet but I’ll let you know what I find 🙂

Alex Miller (Clojure team) 2026-01-07T20:23:50.194819Z

ok, certainly lots of changes since then

Alex Miller (Clojure team) 2026-01-07T20:24:16.257059Z

https://clojure.org/releases/tools is probably the best combined changelog to review