Skip to content

Instantly share code, notes, and snippets.

@gautamr
Created May 11, 2018 05:06
Show Gist options
  • Save gautamr/9073e692835b3965ed7a2014a37291b4 to your computer and use it in GitHub Desktop.
Save gautamr/9073e692835b3965ed7a2014a37291b4 to your computer and use it in GitHub Desktop.
Install Clojure in Windows
:: This installation is applicable for installing leiningen in Windows system till date
:: #1 Create .lein folder under HOME directory
:: like C:\Users\gautamr\.lein
:: #2 Download lein.bat
:: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat
:: #3 Download standalone ZIP of latest version
:: https://github.com/technomancy/leiningen/releases/download/2.8.1/leiningen-2.8.1-standalone.zip
:: #4 Modify lein.bat line 31
:: if "x%LEIN_JAR%" == "x" set "LEIN_JAR=!LEIN_HOME!\leiningen-!LEIN_VERSION!-standalone.zip"
rem Have Fun!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment