elan-init
brew install elan-initAlso 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 days | 15,359 |
|---|---|
| Downloads | 74,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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 1,657 | 2,169 | 4,209 |
Installs (--HEAD) | 3 | 3 | 8 |
| Installs on Request | 1,658 | 2,169 | 4,209 |
Installs on Request (--HEAD) | 3 | 3 | 8 |
| Build Errors | 3 |