lein
Leiningen, commonly invoked as lein, is a build automation and project management tool for Clojure. It orchestrates compilation, testing, dependency resolution, packaging, and running applications. By centralizing configuration and tooling, lein simplifies project setup and repeatable workflows. It relies on Maven-compatible repositories such as Maven Central and Clojars to fetch libraries.
Projects are described in a project.clj file, written in Clojure data structures. The file typically includes
Leiningen provides a set of built-in tasks for common operations: deps fetches dependencies; compile compiles source
Leiningen also supports scaffolding and plugins. The lein new command creates new projects from templates (such
As an established tool, Leiningen remains widely used in Clojure projects despite the emergence of alternatives