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 Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up