clr

dgr 2026-01-15T15:06:05.890179Z

I’m trying to get ClojureCLR working on MacOS and it’s not working. I’m not a dotnet/CLR guy, so I’m not sure how to interpret what I’m seeing. I installed dotnet via brew and dotnet --info works. I installed ClojureCLR according to the instructions and when I run Clojure.Main I get:

╭─ ~ ········································································································································································· ✔ 
╰─ Clojure.Main
You must install or update .NET to run this application.

App: /Users/dave/.dotnet/tools/Clojure.Main
Architecture: arm64
Framework: '', version '9.0.0' (arm64)
.NET location: /opt/homebrew/Cellar/dotnet/10.0.102/libexec

The following frameworks were found:
  10.0.2 at [/opt/homebrew/Cellar/dotnet/10.0.102/libexec/shared/Microsoft.NETCore.App]

Learn more:


To install missing framework, download:
I’m not sure how to interpret this. Is it saying that ClojureCLR only runs with version 9.0.0, whereas I have 10.0.2? Or is it something else?

seancorfield 2026-01-15T15:20:46.971239Z

I'm not an expert either, but I work a bit with ClojureCLR on Ubuntu and my experience is that it is pretty sensitive to the .NET version(s) installed. So, I'd say: yeah, go ahead and download that 9.0.0 version and install it, and see if that fixes the problem.

dgr 2026-01-15T15:22:57.577729Z

Okay, I'll give it a try.

dgr 2026-01-18T16:35:49.675709Z

Thanks

dmiller 2026-01-17T16:00:41.853689Z

An alternative is to install the latest alpha. (It's quite stable, not to worry.) The 1.12.3 prerelease versions will run on .Net 10.

dotnet tool install --global Clojure.Main --version 1.12.3-alpha4

dgr 2026-01-18T00:29:07.418569Z

@dmiller , I'm trying to do this for Clojure test suite local testing. What version of ClojureCLR do you recommend for that?

dmiller 2026-01-18T04:58:22.904699Z

1.12.3-alpha4 It incorporates some fixes to some test suite issues that were discovered when putting in coverage for ClojureCLR.

👍 1
bobcalco 2026-03-17T17:53:40.383669Z

I'm running into the same problem. I have 9.0.3 and 10.0.3 SDKs installed. I can run the latest Clojure.Main (alpha4), but not Clojure.Cljr - i get the same error message.

bobcalco 2026-03-17T17:53:49.952939Z

On Mac, I should clarify.