So I've been working through this book "Clojure for the Brave and True" and I got a bit stuck trying to do setup for Windows. So here's what I did.
- Use WSL.
- Install Java in the terminal with:
sudo apt install openjdk-11-jdk
- Install leiningen with apt-get:
sudo apt-get install leiningen
Boom, that's it and you're off the the races. You can use emacs like the book recommends but I just use VS Code (because it integrates easily with WSL) and this extension. REPL works great and you're off and learning with little fuss.
I found there to be very little information on how to set things up easily on Windows and having just started using Windows I don't know much about the packages and powershell so it felt nice and easy to do this with Linux. Hope I saved someone, even if its my future self, some setup time.
Top comments (0)