Automic VaultAutomic Vault

brew

Installer elan-init avec Homebrew, apt, Nix, scoop, winget, MacPorts

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

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install elan-init

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install lean

MacPorts ports tree · math/lean/Portfile · Source: api.github.com

Linux

Debian aptvérifié · 92%
sudo apt install elan

Debian stable package indexes · elan · Source: deb.debian.org

Nixvérifié · 92%
nix profile install nixpkgs#elan

nixpkgs package indexes · pkgs/by-name/el/elan/package.nix · Source: api.github.com

Windows

Scoopvérifié · 92%
scoop install main/elan

Scoop official bucket manifest trees · bucket/elan.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id Lean.Elan -e

Windows Package Manager source index · Lean.Elan · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Lean Theorem Prover installer and version manager

Commandes et alias

  • elan
  • elan-init
  • lake
  • lean
  • leanc
  • leanchecker
  • leanmake
  • leanpkg

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2018: GitHub repository created for the Lean toolchain manager.
  • 2023: README examples show Lean 4 nightly toolchains selected by `lean-toolchain`.
  • 2025: v4.0.0 released for the Lean 4 era.
  • 2026: v4.2.x releases continue active maintenance.

Related projects

  • elan is closely related to Lean, Lake, leanpkg, and rustup. Its model also resembles ghcup, pyenv, nvm, and other language version managers, but it is tightly integrated with Lean's official toolchain naming.

posture de sécurité

Niveau de risque : orange

infrastructure mutation or orchestration signal.

Classificateur de risque

risque orange · confiance moyen · infrastructure

Pourquoi

  • infrastructure mutation or orchestration signal

Signaux

  • text:version manager

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 2 dépendances d’exécution.
  • Les métadonnées de compilation listent 2 dépendances de compilation.

Revue recommandée

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

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
lean-toolchain

exécutables

Exécutables installés

CommandeTypeExpositionNote
elancliexécutable global
elan-initcliexécutable global
lakecliexécutable global
leancliexécutable global
leanccliexécutable global
leancheckercliexécutable global
leanmakecliexécutable global
leanpkgcliexécutable global

fraîcheur

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

page générée2026-07-10
version du gestionnaire4.2.3
gestionnaire mis à jour2026-06-13
données localesOK
amontà jour
dernière version détectéev4.2.3

https://github.com/leanprover/elan

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:elan-init
Version4.2.3
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/elan-init
Page d'accueilhttps://github.com/leanprover/elan
Dépôthttps://github.com/leanprover/elan
Docs amonthttps://github.com/leanprover/elan#readme
LicenceApache-2.0 OR MIT
Archive sourcehttps://github.com/leanprover/elan/archive/refs/tags/v4.2.3.tar.gz
Dernière mise à jour2026-06-13T01:24:10+02:00
Pulseupdated
Dépendancescoreutils, gmp
Dépendances de compilationpkgconf, rust
Bibliothèques fournies par macOSbzip2, curl
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameelan-init
Aliases
  • elan
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • lean-cli
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

MacPorts94%

lean

sudo port install lean
  • installed executable or alias match
  • Correspondance par : Lean
MacPorts ports tree · api.github.com · MacPorts ports tree: math/lean/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

elan 3.1.1-6

tool for managing installations of the Lean theorem prover

https://github.com/leanprover/elan

sudo apt install elan
  • Section: math
  • Architecture: amd64
  • 7 Dépendances
  • installed executable or alias match
  • Correspondance par : Elan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: elan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

elan

nix profile install nixpkgs#elan
  • installed executable or alias match
  • Correspondance par : Elan
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/el/elan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Nix92%

lean

nix profile install nixpkgs#lean
  • installed executable or alias match
  • Correspondance par : Lean
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/lean/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

elan 3.1.0-1build2

tool for managing installations of the Lean theorem prover

https://github.com/leanprover/elan

sudo apt install elan
  • Section: universe/math
  • Architecture: amd64
  • 6 Dépendances
  • installed executable or alias match
  • Correspondance par : Elan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: elan from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Scoop92%

main/elan

scoop install main/elan
  • installed executable or alias match
  • Correspondance par : Elan
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/elan.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

Lean.Elan

winget install --id Lean.Elan -e
  • installed executable or alias match
  • Correspondance par : Elan
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Lean.Elan from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

Lean.Lean

winget install --id Lean.Lean -e
  • installed executable or alias match
  • Correspondance par : Lean
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Lean.Lean from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

MPI.ELAN

winget install --id MPI.ELAN -e
  • installed executable or alias match
  • Correspondance par : Elan
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: MPI.ELAN from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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