Skip to content

Instantly share code, notes, and snippets.

@nikolavojicic
Last active October 7, 2022 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment