Skip to content

Instantly share code, notes, and snippets.

@nikolavojicic
Last active November 13, 2024 14:34
Show Gist options
  • Save nikolavojicic/6081284d4fb5f969a7fabe1f150db73e to your computer and use it in GitHub Desktop.
Save nikolavojicic/6081284d4fb5f969a7fabe1f150db73e to your computer and use it in GitHub Desktop.
Installing Leiningen on Windows

Leiningen on Windows

Create folder C:\Users\USER\.lein with

  • folder bin with file lein.bat
  • folder self-installs with file leiningen-VERSION-standalone.jar
  • file profiles.clj with content: {:user {:java-cmd "C:\\Program Files\\Java\\jdk-VERSION\\bin\\java.exe"}}

Computer -> Properties -> Advanced system settings -> Environment Variables -> User variables for USER

  • Path -> Edit...
    Variable value: (append with ;) C:\Users\USER\.lein\bin
@vjktm
Copy link

vjktm commented Nov 13, 2024

Short and sweet. Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment