macOS
brew install elan-initlocal Homebrew formula metadata
sudo port install leanMacPorts ports tree · math/lean/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de elan-init pour les workflows d'agents IA.
installation
brew install elan-initlocal Homebrew formula metadata
sudo port install leanMacPorts ports tree · math/lean/Portfile · Source: api.github.com
sudo apt install elanDebian stable package indexes · elan · Source: deb.debian.org
nix profile install nixpkgs#elannixpkgs package indexes · pkgs/by-name/el/elan/package.nix · Source: api.github.com
scoop install main/elanScoop official bucket manifest trees · bucket/elan.json · Source: api.github.com
winget install --id Lean.Elan -eWindows Package Manager source index · Lean.Elan · Source: cdn.winget.microsoft.com
aperçu
Lean Theorem Prover installer and version manager
historique
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.
posture de sécurité
infrastructure mutation or orchestration signal.
risque orange · confiance moyen · infrastructure
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des 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.
lean-toolchainexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
elan | cli | exécutable global | |
elan-init | cli | exécutable global | |
lake | cli | exécutable global | |
lean | cli | exécutable global | |
leanc | cli | exécutable global | |
leanchecker | cli | exécutable global | |
leanmake | cli | exécutable global | |
leanpkg | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/leanprover/elan
métadonnées d'installation
| Clé du paquet | brew:elan-init |
|---|---|
| Version | 4.2.3 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/elan-init |
| Page d'accueil | https://github.com/leanprover/elan |
| Dépôt | https://github.com/leanprover/elan |
| Docs amont | https://github.com/leanprover/elan#readme |
| Licence | Apache-2.0 OR MIT |
| Archive source | https://github.com/leanprover/elan/archive/refs/tags/v4.2.3.tar.gz |
| Dernière mise à jour | 2026-06-13T01:24:10+02:00 |
| Pulse | updated |
| Dépendances | coreutils, gmp |
| Dépendances de compilation | pkgconf, rust |
| Bibliothèques fournies par macOS | bzip2, curl |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.