DEV Community

Mike Rispoli
Mike Rispoli

Posted on

7 1

Setup Clojure on Windows (WSL) or Linux

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.

  1. Use WSL.
  2. Install Java in the terminal with: sudo apt install openjdk-11-jdk
  3. 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.

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay