clj-on-windows

For those interested in making clj on Windows https://dev.clojure.org/jira/browse/TDEPS-67. Also see https://github.com/littleli/scoop-clojure.
practicalli-john 2020-01-19T10:41:06.011200Z

I am looking for an install guide to Clojure on Windows for ClojureBridge students (and coaches). A useful guide should assume that the person reading it doesn't know what powershell is or how to launch it. The guide ideally would install Clojure so it could be used from either Emacs/Cider, IntelliJ/Cursive, Viscose/Calva or Atom/Chlorine/ProtoRepl. I have guides for the editors and for Leiningen, but as I don't have windows and have never used powershell (and failed last time I tried to install Clojure CLI on Windows) it's a bit challenging for me to write. https://clojurebridgelondon.github.io/workshop/development-tools/

practicalli-john 2020-01-19T10:43:26.014800Z

It does seem scoop or deps.clj is the simplest path. Would those editors just work, i.e. start a repl and eval code, once either is installed? Or would some config be needed to direct them to the right binary name?

borkdude 2020-01-19T10:53:09.016200Z

@jr0cket I doubt if editors recognize deps.exe but if you rename that executable to clojure.exe and place it on the path, it might work 🙂

borkdude 2020-01-19T10:54:22.017800Z

installing clojure with scoop might be the easiest way to get the official tools

👍 1
pez 2020-01-19T10:54:41.018100Z

Calva should just work. As it happens I have ordered myself a new Mac that should arrive any day soon. When setting up the Virtual Box Windows environment I would be happy to follow your guide @jr0cket, and we’ll see if something needs to be updated.

2020-01-20T15:42:51.020200Z

@ales.najmann hadn't seen that vm page before, thanks for sharing it!

2020-01-20T15:44:37.020400Z

interesting...looks like they expire in feb. may be there may be a newer set at that point.

2020-01-20T15:45:06.020600Z

i wonder what the telemetry settings are like.

littleli 2020-01-20T15:55:40.020800Z

yeah, you can use the images for like a month or something. then you should stop using that image. or download another one. although I believe that ouside of the annoying dialog, nothing really prevents you from using it even after that period.

pez 2020-01-20T16:08:32.021Z

I just keep using them 😃

2020-01-20T16:11:04.021200Z

ah, thanks both of you :)

practicalli-john 2020-01-19T11:54:27.018300Z

Ah, if it's possible to get a free Windows 10 image for Virtual box, then that would be useful to help me write and test a ClojureBridge guide for Windows. My guides only cover Leiningen at the moment.

littleli 2020-01-19T15:35:19.018800Z

for completeness leiningen is available in official (main) scoop as well. https://github.com/ScoopInstaller/Main/blob/master/bucket/leiningen.json

littleli 2020-01-19T15:35:46.019100Z

Windows 10 images are available for limited time use here: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines

littleli 2020-01-19T15:38:49.019400Z

Can I help you with the user experience somehow? Or to improve guides above?

cfleming 2020-01-19T21:08:11.019600Z

For users using Cursive, they can already use deps without any of that: https://cursive-ide.com/userguide/deps.html#windows

👍 1