lein
Manage Clojure projects with declarative configuration. More information: https://leiningen.org.
-
Generate scaffolding for a new project based on a template:
lein new {{template_name}} {{project_name}} -
Start a REPL session either with the project or standalone:
lein repl -
Run the project's
-mainfunction with optional args:
lein run {{args}} -
Run the project's tests:
lein test -
Package up the project files and all its dependencies into a jar file:
lein uberjar
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.