elan-init

Install command:
brew install elan-init

Also known as: elan

Lean Theorem Prover installer and version manager

https://github.com/leanprover/elan

License: Apache-2.0 OR MIT

Development: Pull requests

Formula JSON API: /api/formula/elan-init.json

Formula code: elan-init.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 4.5.0
head ⚡️ HEAD

Depends on:

coreutils 9.12 GNU File, Shell, and Text utilities
gmp 6.3.0 GNU multiple precision arithmetic library
openssl@4 4.1.0 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

pkgconf 3.0.11 Package compiler and linker metadata toolkit
rust 1.100.1 Safe, concurrent, practical language

Uses from macOS: bzip2, curl

Conflicts with: lean-cli (because both install `lean` binaries)

Binaries: elan, elan-init, lake, lean, leanc, leanchecker, leanmake, leanpkg

GitHub Packages downloads:

Last 30 days15,359
Downloads74,790
Analytics install events (30 days)1,660
Downloads / install events (30 days)9.3×

Source: GitHub Packages, fetched 2026-12-02T01:03:50Z. Analytics dates: 2026-11-02 to 2026-12-02. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs1,6572,1694,209
Installs (--HEAD)338
Installs on Request1,6582,1694,209
Installs on Request (--HEAD)338
Build Errors3