Automic VaultAutomic Vault

brew

elan-init mit Homebrew, apt, Nix, scoop, winget, MacPorts installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für elan-init in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install elan-init

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install lean

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

Linux

Debian aptverifiziert · 92%
sudo apt install elan

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

Nixverifiziert · 92%
nix profile install nixpkgs#elan

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

Windows

Scoopverifiziert · 92%
scoop install main/elan

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

Windows Package Managerverifiziert · 92%
winget install --id Lean.Elan -e

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

Überblick

Paketzusammenfassung

Lean Theorem Prover installer and version manager

Befehle und Aliase

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

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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.

Sicherheitslage

Risikostufe: orange

infrastructure mutation or orchestration signal.

Risikoklassifikator

orange Risiko · mittel Konfidenz · infrastructure

Warum

  • infrastructure mutation or orchestration signal

Signale

  • text:version manager

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 2 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 2 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
elancliglobales Executable
elan-initcliglobales Executable
lakecliglobales Executable
leancliglobales Executable
leanccliglobales Executable
leancheckercliglobales Executable
leanmakecliglobales Executable
leanpkgcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version4.2.3
Manager aktualisiert2026-06-13
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv4.2.3

https://github.com/leanprover/elan

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:elan-init
Version4.2.3
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/elan-init
Homepagehttps://github.com/leanprover/elan
Repositoryhttps://github.com/leanprover/elan
Upstream-Dokumentationhttps://github.com/leanprover/elan#readme
LizenzApache-2.0 OR MIT
Quellarchivhttps://github.com/leanprover/elan/archive/refs/tags/v4.2.3.tar.gz
Zuletzt aktualisiert2026-06-13T01:24:10+02:00
Pulseupdated
Abhängigkeitencoreutils, gmp
Build-Abhängigkeitenpkgconf, rust
Von macOS bereitgestellte Bibliothekenbzip2, curl
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

MacPorts94%

lean

sudo port install lean
  • installed executable or alias match
  • Abgeglichen nach: 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 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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