Fork me on GitHub
#clj-on-windows
<
2022-10-13
>
Julian12:10:57

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?

borkdude12:10:59

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.

borkdude12:10:54

Might also be good to ping @UBLU3FQRZ in that issue

Julian12:10:39

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

littleli12:10:27

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

Julian16:10:50

Hi @UBLU3FQRZ, 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.

littleli16:10:11

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

🎉 2
seancorfield16:10:13

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.

gratitude-thank-you 1