Sunday, October 25, 2026 4,350 lists 78,100 records on file
List your app or device

  1. Home
  2. Runtime Version Managers
  3. elan

elan

What it is

elan manages installations of the Lean theorem prover for Linux, macOS, and Windows. Its `lean` and `lake` commands can read a project’s `lean-toolchain` file, select the specified Lean version, and download it when needed. The `elan` command also lets users install, select, run, or uninstall Lean versions manually. It supports project version pinning, lockfiles, automatic switching, shell integration, and CI/CD usage. Installation instructions include shell methods for Linux and macOS, a PowerShell method for Windows, and release downloads for supported platforms. On NixOS, the README recommends using the Nixpkgs version because toolchains downloaded by elan require patching there. Lake needs git to download dependencies. The project describes elan as a rustup fork adapted for Lean infrastructure. It is free and lists Apache-2.0 and MIT licenses; the latest release listed is v4.2.4. The README says the self-uninstall command removes elan and reverses shell configuration changes made during installation.

For and against

For

  • Selects versions from a project toolchain file
  • Supports manual toolchain management
  • Supports pinning, lockfiles, and automatic switching
  • Free under Apache-2.0 and MIT licenses

Against

  • Lake needs git to download dependencies
  • NixOS toolchains downloaded by elan require patching

The verdict

elan handles Lean version selection both from project configuration and through manual commands. NixOS users should follow the README’s Nixpkgs recommendation, and Lake dependency downloads require git.

Who it suits

elan suits Lean users who want project-specific toolchain selection or manual version management. It may also suit teams using pinned toolchains in CI/CD.

Plans and prices

elan

Free

Lean version management · Apache-2.0 and MIT licenses

Every plan, in full

On the record

Automatic toolchain selection
Its lean and lake binaries select and, when necessary, download the Lean version specified in a project's lean-toolchain file.github.com · read 28 Sep 2026
Dependency
The README says git is needed for Lake to download dependencies.github.com · read 28 Sep 2026
Install methods
The README provides shell installation for Linux and macOS, PowerShell installation for Windows, and release downloads for supported platforms.github.com · read 28 Sep 2026
Latest release
The GitHub releases page identifies v4.2.4 as the latest release.github.com · read 28 Sep 2026
License
The repository lists Apache-2.0 and MIT licenses.github.com · read 28 Sep 2026
Manual toolchain management
The elan executable can install, select, run, and uninstall Lean versions manually.github.com · read 28 Sep 2026
NixOS
The README recommends installing the Nixpkgs version because elan-downloaded toolchains require patching on NixOS.github.com · read 28 Sep 2026
Project lineage
The README describes elan as basically a fork of rustup adapted for Lean infrastructure.github.com · read 28 Sep 2026
Purpose
elan manages installations of the Lean theorem prover.github.com · read 28 Sep 2026
Uninstallation
The README says elan self uninstall should remove elan and revert the shell configuration changes made during installation.github.com · read 28 Sep 2026

Alternatives to elan

Every alternative, ranked