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.
Murf 2020-06-03T13:42:17.105400Z

Hey all. Brand new here and BRAND new to Clojure. I’m a windows guy which I know isn’t the largest of markets for Clojure so hopefully this channel will help :) I’m a powershell guy with some VB and PHP experience as well. What is everyone’s “preferred setup” for someone starting to learn Clojure on Windows? Thanks!!

borkdude 2020-06-03T13:54:20.105700Z

@samdynamicsllc I'm not using Windows myself, but this blog might be helpful: https://conan.is/blogging/clojure-on-windows.html

❤️ 1
Murf 2020-06-03T13:54:47.106100Z

Thanks a lot!

littleli 2020-06-03T14:05:10.108300Z

@samdynamicsllc If you don't want to go down with WSL path, there is an alternative: https://github.com/littleli/scoop-clojure Which maybe valid if you know little about Linux or you're not a friend with it.

littleli 2020-06-03T14:06:34.109500Z

Otherwise, my Windows setup is relatively simple: • VSCodium + Calva • rebel-readline (because of absence of rlwrap) • Microsoft Terminal But to be fair, I'm not heavy Clojure user yet.

littleli 2020-06-03T14:07:49.110100Z

I should write some kind of blogpost about it to make a case...

👍 1
littleli 2020-06-03T14:25:39.111500Z

I was also playing around with Alacritty which is also available via Scoop, it is fast but if I remember correctly I didn't like it's behavior with clipboard.

practicalli-john 2020-06-03T15:27:34.114700Z

@samdynamicsllc It does seem that if you have Windows 10 and administrative privelleges, that installing Windows Subsystem for Linux is a very good approach and you get access to Unix environment too, if you are happy to learn. Otherwise use scoop-clojure for all other Windows situations and it has the advantage that you can install all the required tools the same way (Java, Clojure, clj-kondo, etc) This is what I've added to my install guide for the Practicalli Clojure book https://practicalli.github.io/clojure/getting-started/install-clojure.html#windows

thheller 2020-06-03T15:29:55.115600Z

@samdynamicsllc just go with https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows if you are in powershell anyways. WSL works well too though. I'm on Windows 10 too and use both.

littleli 2020-06-03T18:00:18.115700Z

Oh, I didn't know. Cool 🙂

practicalli-john 2020-06-03T18:03:33.115900Z

scoop-clojure is great and will be using it when we have an install session at the next ClojureBridge London, as we get quite a few people with Windows and only have about 1 hour to get everything installed. Thanks to the author of scoop-clojure, it should be much easier.

littleli 2020-06-03T18:05:18.116100Z

I'm the author 😇

❤️ 2
littleli 2020-06-03T19:29:52.116500Z

I'm happy to see it being useful to the others