macOS
brew install elan-initlocal Homebrew formula metadata
sudo port install leanMacPorts ports tree · math/lean/Portfile · ソース: api.github.com
brew
elan-init のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install elan-initlocal Homebrew formula metadata
sudo port install leanMacPorts ports tree · math/lean/Portfile · ソース: api.github.com
nix profile install nixpkgs#elannixpkgs package indexes · pkgs/by-name/el/elan/package.nix · ソース: api.github.com
scoop install main/elanScoop official bucket manifest trees · bucket/elan.json · ソース: api.github.com
winget install --id Lean.Elan -eWindows Package Manager source index · Lean.Elan · ソース: cdn.winget.microsoft.com
概要
Lean Theorem Prover installer and version manager
履歴
elan is the Lean theorem prover toolchain manager. It installs Lean toolchains and places proxy binaries such as `lean`, `lake`, and `elan` on PATH so a project can select the compiler version declared in its `lean-toolchain` file.
The elan repository was created in April 2018 as Lean's answer to language-specific version managers. Its README explicitly describes the implementation as a fork of rustup, adapted from Rust's toolchain model to Lean's compiler, package manager, and release infrastructure.
The design followed Lean's project-local workflow: a repository can commit a `lean-toolchain` file, and elan will automatically select and download the required Lean version when `lean` or `lake` is invoked.
elan became central to modern Lean usage because Lean projects often depend on precise compiler versions, especially around Lean 4 nightly and stable releases. The Lean reference manual documents elan as the standard way to manage installed toolchains, select defaults, and override versions per project.
Its package adoption is practical rather than flashy: package managers distribute `elan-init`, while the installed proxies expose Lean, Lake, and related tools under their usual command names.
Typical usage starts with the `elan-init` installer, which installs into `~/.elan` by default and can update shell startup files. After installation, `elan show`, `elan default`, and project-local `lean-toolchain` files control which Lean version is active.
For package maintainers, elan matters because a single package can provide a family of executables while deferring the actual Lean compiler download until a project requests a specific toolchain.
elan is a clean example of the rustup pattern spreading to another language ecosystem: a tiny manager package, shim executables, per-project version files, and lazy toolchain installation. That makes it especially interesting in package-manager databases because the package name `elan-init` is only the installer face of a larger language runtime workflow.
セキュリティ状態
infrastructure mutation or orchestration signal.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
lean-toolchain実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
elan | cli | グローバル実行可能ファイル | |
elan-init | cli | グローバル実行可能ファイル | |
lake | cli | グローバル実行可能ファイル | |
lean | cli | グローバル実行可能ファイル | |
leanc | cli | グローバル実行可能ファイル | |
leanchecker | cli | グローバル実行可能ファイル | |
leanmake | cli | グローバル実行可能ファイル | |
leanpkg | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/leanprover/elan
インストールメタデータ
| パッケージキー | brew:elan-init |
|---|---|
| バージョン | 4.2.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/elan-init |
| ホームページ | https://github.com/leanprover/elan |
| リポジトリ | https://github.com/leanprover/elan |
| 上流ドキュメント | https://github.com/leanprover/elan#readme |
| ライセンス | Apache-2.0 OR MIT |
| ソースアーカイブ | https://github.com/leanprover/elan/archive/refs/tags/v4.2.3.tar.gz |
| 最終更新 | 2026-06-13T01:24:10+02:00 |
| Pulse | updated |
| 依存関係 | coreutils, gmp |
| ビルド依存関係 | pkgconf, rust |
| macOS 提供ライブラリ | bzip2, curl |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | elan-init |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
lean
sudo port install leanelan 3.1.1-6
tool for managing installations of the Lean theorem prover
https://github.com/leanprover/elan
sudo apt install elanelan
nix profile install nixpkgs#elanlean
nix profile install nixpkgs#leanelan 3.1.0-1build2
tool for managing installations of the Lean theorem prover
https://github.com/leanprover/elan
sudo apt install elanmain/elan
scoop install main/elanLean.Elan
winget install --id Lean.Elan -eLean.Lean
winget install --id Lean.Lean -eMPI.ELAN
winget install --id MPI.ELAN -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.