macOS
brew install leiningenlocal Homebrew formula metadata
sudo port install leiningenMacPorts ports tree · devel/leiningen/Portfile · 来源: api.github.com
安装
brew install leiningenlocal Homebrew formula metadata
sudo port install leiningenMacPorts ports tree · devel/leiningen/Portfile · 来源: api.github.com
sudo apk add leiningenAlpine Linux edge package indexes · leiningen · 来源: dl-cdn.alpinelinux.org
sudo apt install leiningenDebian stable package indexes · leiningen · 来源: deb.debian.org
nix profile install nixpkgs#leiningennixpkgs package indexes · pkgs/by-name/le/leiningen/package.nix · 来源: api.github.com
sudo pacman -S leiningenArch Linux sync databases · leiningen · 来源: geo.mirror.pkgbuild.com
sudo zypper install leiningenopenSUSE Tumbleweed package metadata · leiningen · 来源: download.opensuse.org
scoop install main/leiningenScoop official bucket manifest trees · bucket/leiningen.json · 来源: api.github.com
choco install LeinChocolatey community package catalog · Lein · 来源: community.chocolatey.org
概览
Build tool for Clojure
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.clj可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lein | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/technomancy/leiningen
安装元数据
| 软件包键 | brew:leiningen |
|---|---|
| 版本 | 2.13.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/leiningen |
| 主页 | https://codeberg.org/leiningen/leiningen |
| 仓库 | https://github.com/technomancy/leiningen |
| 上游文档 | https://github.com/technomancy/leiningen#readme |
| 许可证 | EPL-1.0 |
| 源码归档 | https://github.com/technomancy/leiningen/archive/refs/tags/2.13.0.tar.gz |
| 最后更新 | 2026-07-13T09:26:37Z |
| Pulse | updated |
| 依赖 | openjdk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | Dependencies will be installed to: $HOME/.m2/repository To play around with Clojure run `lein repl` or `lein help`. |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 Lein来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.