macOS
brew install leiningenlocal Homebrew formula metadata
sudo port install leiningenMacPorts ports tree · devel/leiningen/Portfile · source: api.github.com
brew
Build tool for Clojure. Version 2.13.0 via Homebrew; verified 2026-06-15.
install
brew install leiningenlocal Homebrew formula metadata
sudo port install leiningenMacPorts ports tree · devel/leiningen/Portfile · source: api.github.com
sudo apk add leiningenAlpine Linux edge package indexes · leiningen · source: dl-cdn.alpinelinux.org
sudo apt install leiningenDebian stable package indexes · leiningen · source: deb.debian.org
nix profile install nixpkgs#leiningennixpkgs package indexes · pkgs/by-name/le/leiningen/package.nix · source: api.github.com
sudo pacman -S leiningenArch Linux sync databases · leiningen · source: geo.mirror.pkgbuild.com
sudo zypper install leiningenopenSUSE Tumbleweed package metadata · leiningen · source: download.opensuse.org
scoop install main/leiningenScoop official bucket manifest trees · bucket/leiningen.json · source: api.github.com
choco install LeinChocolatey community package catalog · Lein · source: community.chocolatey.org
overview
Build tool for Clojure
history
Leiningen is the long-running Clojure build, dependency, REPL, test, packaging, and project automation tool best known by its `lein` command and `project.clj` files.
Phil Hagelberg created Leiningen in 2009 to make Clojure project automation less painful than hand-written Maven configuration. The official tagline, 'automating Clojure projects without setting your hair on fire,' captured the design goal: declarative Clojure configuration, automatic dependency resolution, project skeletons, testing, REPL setup, jars, and uberjars from one command-line tool.
The 1.0.0 release on 2009-12-05 already had many features that shaped Clojure projects for years: configurable source, test, and compilation paths in `project.clj`, isolated classloading, Maven-free install behavior, `lein new`, generated POM metadata, test summaries, uberjar output, plugin flexibility, and resources on the classpath. Later releases added Windows support, upgrades, profiles, plugins, deploy workflows, nREPL integration, and ongoing compatibility updates.
Leiningen became the default entry point for many Clojure tutorials, libraries, and applications through the 2010s, before and alongside alternatives such as Boot and the official Clojure CLI/deps.edn tooling. Its wide package-manager availability reflects that history: installing `lein` from a system package manager remained a normal way to start working with Clojure projects.
Typical users run `lein new`, `lein test`, `lein repl`, `lein run`, `lein jar`, `lein uberjar`, and `lein deploy`, with project settings in `project.clj` and user or system defaults in profiles files. Credentials files under `~/.lein` support publishing workflows such as deploying artifacts to repositories.
Leiningen is package-nerd significant because it made Maven-style dependency and artifact workflows feel native to Clojure. It linked Clojure code, Maven repositories, REPL-driven development, project templates, plugins, and uberjar packaging into one memorable command, which shaped how Clojure packages were created and consumed for more than a decade.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
project.cljprofiles.clj~/.lein/profiles.clj/etc/leiningen/profiles.clj~/.lein/profiles.d/Credential-bearing paths to review before unattended agent runs.
~/.lein/credentials.clj.gpg~/.lein/credentials.cljexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
lein | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/technomancy/leiningen
install metadata
| Package key | brew:leiningen |
|---|---|
| Version | 2.13.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/leiningen |
| Homepage | https://codeberg.org/leiningen/leiningen |
| Repository | https://github.com/technomancy/leiningen |
| Upstream docs | https://github.com/technomancy/leiningen#readme |
| License | EPL-1.0 |
| Source archive | https://github.com/technomancy/leiningen/archive/refs/tags/2.13.0.tar.gz |
| Last updated | 2026-06-15T10:20:20-04:00 |
| Pulse | updated |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | Dependencies will be installed to: $HOME/.m2/repository To play around with Clojure run `lein repl` or `lein help`. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | leiningen |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
leiningen 2.10.0-5
Automation tool and dependency manager for Clojure projects
sudo apt install leiningenleiningen
nix profile install nixpkgs#leiningenleiningen 2.10.0-2
Automation tool and dependency manager for Clojure projects
sudo apt install leiningenleiningen 2.12.0-r0
Automate Clojure Projects
sudo apk add leiningenleiningen-bash-completion 2.12.0-r0
Bash completions for leiningen
sudo apk add leiningen-bash-completionleiningen-doc 2.12.0-r0
Automate Clojure Projects (documentation)
sudo apk add leiningen-docleiningen-zsh-completion 2.12.0-r0
Zsh completions for leiningen
sudo apk add leiningen-zsh-completionleiningen 2.12.0-1
Automate Clojure projects
https://codeberg.org/leiningen/leiningen
sudo pacman -S leiningenleiningen 2.12.0-1.2
Automation for Clojure projects
sudo zypper install leiningenleiningen
sudo port install leiningenmain/leiningen
scoop install main/leiningenLein
choco install Leinsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.