Automic VaultAutomic Vault

brew

Install leiningen with Homebrew, apk, apt, MacPorts, Nix, pacman, scoop, zypper, chocolatey

Build tool for Clojure. Version 2.13.0 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install leiningen

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install leiningen

MacPorts ports tree · devel/leiningen/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add leiningen

Alpine Linux edge package indexes · leiningen · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install leiningen

Debian stable package indexes · leiningen · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#leiningen

nixpkgs package indexes · pkgs/by-name/le/leiningen/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S leiningen

Arch Linux sync databases · leiningen · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install leiningen

openSUSE Tumbleweed package metadata · leiningen · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/leiningen

Scoop official bucket manifest trees · bucket/leiningen.json · source: api.github.com

Chocolateyverified · 92%
choco install Lein

Chocolatey community package catalog · Lein · source: community.chocolatey.org

overview

Package summary

Build tool for Clojure

Commands and aliases

  • lein

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2009-11-17: Leiningen's release history records the early 0.5.0 release date.
  • 2009-12-05: Leiningen 1.0.0 shipped with project.clj paths, isolated classloading, `lein new`, generated POM metadata, test summaries, and uberjar output.
  • 2010-02-16: Leiningen 1.1.0 added `lein upgrade`, dependency exclusions, native-code dependency support, and experimental Windows support.
  • 2012: Leiningen 2-era docs and profiles became central to daily Clojure workflows.
  • 2021-11-11: Leiningen 2.9.8 continued the long maintenance line with dependency-resolution and install fixes.
  • 2020s: The project marked Codeberg as the canonical repository while keeping GitHub pages and docs visible for existing users.

Related projects

  • Related Clojure build and dependency tools include Boot, the official Clojure CLI and deps.edn, tools.build, Maven, Gradle, Clojars, nREPL, REPL-y, and ClojureScript build tooling that often integrated through Leiningen plugins.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:build tool

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
project.cljprofiles.clj~/.lein/profiles.clj/etc/leiningen/profiles.clj~/.lein/profiles.d/

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.lein/credentials.clj.gpg~/.lein/credentials.clj

executables

Installed executables

CommandKindExposureNote
leincliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.13.0
manager updated2026-06-15
local dataok
upstreamcurrent
latest detected2.13.0

https://github.com/technomancy/leiningen

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:leiningen
Version2.13.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/leiningen
Homepagehttps://codeberg.org/leiningen/leiningen
Repositoryhttps://github.com/technomancy/leiningen
Upstream docshttps://github.com/technomancy/leiningen#readme
LicenseEPL-1.0
Source archivehttps://github.com/technomancy/leiningen/archive/refs/tags/2.13.0.tar.gz
Last updated2026-06-15T10:20:20-04:00
Pulseupdated
Dependenciesopenjdk
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared
CaveatsDependencies will be installed to: $HOME/.m2/repository To play around with Clojure run `lein repl` or `lein help`.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameleiningen
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

leiningen 2.10.0-5

Automation tool and dependency manager for Clojure projects

https://leiningen.org

sudo apt install leiningen
  • Section: java
  • Architecture: all
  • Source Package: leiningen-clojure
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Leiningen
Debian stable package indexes · deb.debian.org · Debian stable package indexes: leiningen from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

leiningen

nix profile install nixpkgs#leiningen
  • normalized package name match
  • Matched by: Leiningen
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/leiningen/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

leiningen 2.10.0-2

Automation tool and dependency manager for Clojure projects

https://leiningen.org

sudo apt install leiningen
  • Section: universe/java
  • Architecture: all
  • Source Package: leiningen-clojure
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Leiningen
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: leiningen from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

leiningen 2.12.0-r0

Automate Clojure Projects

https://leiningen.org/

sudo apk add leiningen
  • License: EPL-1.0
  • Architecture: x86_64
  • Source Package: leiningen
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Leiningen
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: leiningen from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

leiningen-bash-completion 2.12.0-r0

Bash completions for leiningen

https://leiningen.org/

sudo apk add leiningen-bash-completion
  • License: EPL-1.0
  • Architecture: x86_64
  • Source Package: leiningen
  • normalized package name match
  • Matched by: Leiningen
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: leiningen-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

leiningen-doc 2.12.0-r0

Automate Clojure Projects (documentation)

https://leiningen.org/

sudo apk add leiningen-doc
  • License: EPL-1.0
  • Architecture: x86_64
  • Source Package: leiningen
  • normalized package name match
  • Matched by: Leiningen
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: leiningen-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

leiningen-zsh-completion 2.12.0-r0

Zsh completions for leiningen

https://leiningen.org/

sudo apk add leiningen-zsh-completion
  • License: EPL-1.0
  • Architecture: x86_64
  • Source Package: leiningen
  • normalized package name match
  • Matched by: Leiningen
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: leiningen-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

leiningen 2.12.0-1

Automate Clojure projects

https://codeberg.org/leiningen/leiningen

sudo pacman -S leiningen
  • License: EPL-2.0
  • Architecture: any
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Leiningen
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: leiningen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

leiningen 2.12.0-1.2

Automation for Clojure projects

https://leiningen.org/

sudo zypper install leiningen
  • License: EPL-1.0
  • Category: Development/Tools/Building
  • Architecture: noarch
  • Source Package: leiningen
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Leiningen
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: leiningen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

leiningen

sudo port install leiningen
  • normalized package name match
  • Matched by: Leiningen
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/leiningen/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/leiningen

scoop install main/leiningen
  • normalized package name match
  • Matched by: Leiningen
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/leiningen.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
Chocolatey92%

Lein

choco install Lein
  • installed executable or alias match
  • Matched by: Lein
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: Lein from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kubectx'

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment