Hello everyone! Is anyone awake to chat about experiences of installing clojure on windows? Too bad there is no visible history of communication 😞
@ales.najmann If you go to zulip archives, there you can read the history of this channel.
https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/clj-on-windows
ah! there is also zulip, good to know!
although the channels there may be less active, don't know, I hardly visit there
but at least the history is there
slack is popular I guess.
btw about yesterday I've got in the mood of playing with this cool Clojure programming language I've been using about a year ago. But now on Window machine and... it turns out I got stuck very quickly.
Install instrutions on clojure site are modest. There is a powershell script available, which probably works but since I needed also java and other tools I'm used to I was looking around for something more powerful.
I went over scoop and I was surprised there is no official, or less official scoop bucket.
I've even found some gist with working bucket definition... but it was just gist
and now I see @malyn is even sitting here. oh my
it was his gist
How do you use Clojure on windows? I mean clj
and clojure
?
Hope this helps someone https://github.com/littleli/scoop-clojure
yes, scoop is very nice
@ales.najmann Nice work, that seems very useful
I think it's @malyn who deserves thanks 🙂 I just exposed it to repo, put there broader suggestions of java runtime and readme.
@ales.najmann I've installed the Powershell CLI tools on all my Windows machines. https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows
Mostly it's waiting for some Windows-savvy volunteers to contribute the polish and packaging to take it across the finish line -- but it works just fine as-is.
The other way I use Clojure "on Windows" is via Microsoft's bash on Windows Linux set up -- but that runs slower in general (due to file I/O issues -- should be fixed in WSL 2 but that requires Windows 10 Pro because of the virtualization it leverages).
Yes. That makes sense for users used to Linux / Mac setups.
I don't have Scoop but that repo looks nice.
The biggest advantage is, you don't run into permission issues. It's in your profile.
Good to know. I think that's been the most varied and frustrating aspect of the current PS scripts.
Exactly 🙂 I was actually surprised that nobody took @malyn script to complete the experience. It worked on first try.
Another good thing about using scoop of course is, that usually developers needs more then single tool and there is good opportunity that utility can be found there too.
I see it downloads the clojure-tools ZIP for version 447 -- how does that relate to the PS script linked from the wiki page which is version 469? Doh! I should have just looked in the PS1 file!
I edited https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows to add a link to that Scoop repo as an example.
I should probably update. It's the version referenced from the original script.
Scoop has some ability to check updates automatically... I have to figure that out
Updated
Just installed Scoop and then installed the latest Clojure Tools via your bucket @ales.najmann -- very, very smooth!
I need to add version check though, because now I guess you won't be able to update when new version kicks in
I promise I'll take a look soon
@seancorfield ok, so I have scoop checkver for checking new version and scoop autoupdate. it's more for a maintainer than for user. As long as you maintain referencing working version on that wiki page it would be easy to keep updated.
@ales.najmann Thanks. Does the wiki page need to be updated? I'm not quite sure what your comment means...
Oh, I get it... it gets the current version from the wiki page! Good to know...
I uninstalled and then reinstalled to get the new version with the checks 🙂