# Install leiningen

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

## Install

```sh
sudo av install brew:leiningen
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install leiningen
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install leiningen
```

  Evidence: MacPorts ports tree: devel/leiningen/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add leiningen
```

  Evidence: Alpine Linux edge package indexes: leiningen from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install leiningen
```

  Evidence: Debian stable package indexes: leiningen from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#leiningen
```

  Evidence: nixpkgs package indexes: pkgs/by-name/le/leiningen/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S leiningen
```

  Evidence: Arch Linux sync databases: leiningen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install leiningen
```

  Evidence: openSUSE Tumbleweed package metadata: leiningen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/leiningen
```

  Evidence: Scoop official bucket manifest trees: bucket/leiningen.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- Chocolatey (92%):

```sh
choco install Lein
```

  Evidence: Chocolatey community package catalog: Lein from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kubectx'

## Package Facts

- **Package key:** brew:leiningen
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/leiningen>
- **Version:** 2.13.0
- **Source summary:** Build tool for Clojure
- **Homepage:** <https://github.com/technomancy/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-08T16:31:49Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- lein (cli)
- lein (alias)

## Dependencies

- openjdk

## Install Behavior

- Post-install hook: not defined
- Caveats: Dependencies will be installed to: $HOME/.m2/repository To play around with Clojure run `lein repl` or `lein help`.
- Bottle: available on all

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 2.13.0
- Package-manager updated: 2026-06-08
- Local data status: ok
- Upstream repository: https://github.com/technomancy/leiningen
- Upstream latest detected: 2.13.0 (current)

## セキュリティノート

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **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:** head, stable

## Other Package-Manager Records

- Debian apt - leiningen - 2.10.0-5: normalized package name match | Debian stable package indexes: leiningen from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Automation tool and dependency manager for Clojure projects | https://leiningen.org
- Nix - leiningen: normalized package name match | nixpkgs package indexes: pkgs/by-name/le/leiningen/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - leiningen - 2.10.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: leiningen from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Automation tool and dependency manager for Clojure projects | https://leiningen.org
- apk - leiningen - 2.12.0-r0: normalized package name match | Alpine Linux edge package indexes: leiningen from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Automate Clojure Projects | https://leiningen.org/
- apk - leiningen-bash-completion - 2.12.0-r0: normalized package name match | Alpine Linux edge package indexes: leiningen-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for leiningen | https://leiningen.org/
- apk - leiningen-doc - 2.12.0-r0: normalized package name match | Alpine Linux edge package indexes: leiningen-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Automate Clojure Projects (documentation) | https://leiningen.org/
- apk - leiningen-zsh-completion - 2.12.0-r0: normalized package name match | Alpine Linux edge package indexes: leiningen-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for leiningen | https://leiningen.org/
- pacman - leiningen - 2.12.0-1: normalized package name match | Arch Linux sync databases: leiningen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Automate Clojure projects | https://codeberg.org/leiningen/leiningen
- zypper - leiningen - 2.12.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: leiningen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Automation for Clojure projects | https://leiningen.org/
- MacPorts - leiningen: normalized package name match | MacPorts ports tree: devel/leiningen/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/leiningen: normalized package name match | Scoop official bucket manifest trees: bucket/leiningen.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Chocolatey - Lein: installed executable or alias match | Chocolatey community package catalog: Lein from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kubectx'


## Related Links

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openjdk](https://www.automicvault.com/ja/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [maven](https://www.automicvault.com/ja/pkg/brew/maven/) - Shares av.db curated category or tags: build-tool, build-tools, cli, dependency-management, developer-tools.
- [sbt](https://www.automicvault.com/ja/pkg/brew/sbt/) - Shares av.db curated category or tags: build-tool, build-tools, cli, dependency-management, developer-tools.
- [gradle](https://www.automicvault.com/ja/pkg/brew/gradle/) - Shares av.db curated category or tags: build-tools, cli, dependency-management, developer-tools.
- [ant](https://www.automicvault.com/ja/pkg/brew/ant/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [vite](https://www.automicvault.com/ja/pkg/brew/vite/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [maturin](https://www.automicvault.com/ja/pkg/brew/maturin/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [haskell-stack](https://www.automicvault.com/ja/pkg/brew/haskell-stack/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [rebar3](https://www.automicvault.com/ja/pkg/brew/rebar3/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [fobis](https://www.automicvault.com/ja/pkg/brew/fobis/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tool, build-tools, cli, dependency.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
