clj-on-windows

Julian 2022-10-13T12:15:57.386519Z

Hi all. I'd like to use https://github.com/practicalli/clojure-deps-edn deps.edn to use clj -M:repl/reveal-nrepl . I can't use WSL because I'm on Windows 10 and can't yet for various reasons upgrade to Windows 11 (so the X-Display doesn't work). However I'm running into this https://github.com/littleli/scoop-clojure/issues/171 and suspect it's the reason why the alias is not found. How can I install the latest version of clojure on Windows?

borkdude 2022-10-13T12:29:59.382979Z

As a temporary workaround you can try https://github.com/borkdude/deps.clj. You can copy the deps.exe binary to your PATH and rename it to clojure.exe / clj.exe to be a drop-in replacement.

borkdude 2022-10-13T12:31:54.492549Z

Might also be good to ping @ales.najmann in that issue

Julian 2022-10-13T12:39:39.367739Z

Thanks @borkdude! 🙂 I'll give this a try!

littleli 2022-10-13T12:53:26.226719Z

You can check the conversation here: https://github.com/ScoopInstaller/Scoop/issues/4844

littleli 2022-10-13T12:53:59.193869Z

This appear to be a solution,but it's a manual step: https://github.com/ScoopInstaller/Scoop/issues/4844#issuecomment-1088303720

littleli 2022-10-13T12:54:27.390449Z

Junction is a specific Windows file system function. I cannot do anything about it, probably even scoop cannot do anything

Julian 2022-10-13T16:19:50.092909Z

Hi @ales.najmann, thanks for getting back. I realized I made a mistake. I'm an idiot and had been setting the version of clojure in my project deps.edn file and secondly I must have been using an older version of Practicalli deps.edn as the correct alias was clj -M:inspect/reveal . Sorry about that.

littleli 2022-10-13T16:21:11.735279Z

No need to sorry :-) I'm glad you make it work. Horay!

🎉 2
seancorfield 2022-10-13T16:36:13.243049Z

Probably also worth noting that the 1.10.3.1087 version is for the Clojure CLI itself. You can set any version of Clojure-the-language in your deps.edn file, independent of the version of the CLI. The CLI version affects the default version of Clojure you get if you don't specify one in deps.edn (which you always should), and it affects what options/features are available in the CLI. See https://clojure.org/releases/tools for what each CLI version changed/added.

1