# Leiningen — Automate Clojure Projects Without Losing Your Mind > Leiningen is the de facto build tool for Clojure. It handles dependency management, project scaffolding, REPL launching, testing, and packaging with a single command-line interface. ## Install Save as a script file and run: # Leiningen — Automate Clojure Projects Without Losing Your Mind ## Quick Use ```bash # Install curl -o /usr/local/bin/lein https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein chmod +x /usr/local/bin/lein lein new app myproject cd myproject && lein run ``` ## Introduction Leiningen is the most widely used build tool in the Clojure ecosystem. It handles the entire project lifecycle—from scaffolding a new project to managing dependencies, running tests, starting a REPL, and building deployable artifacts—all driven by a declarative `project.clj` file. ## What Leiningen Does - Resolves and downloads dependencies from Maven Central and Clojars repositories - Scaffolds new projects from templates via `lein new