Install
winget install Lean.Lean
Click to copy
↓ Download Installer
About Lean
Lean is a functional programming language that makes it easy to write correct and maintainable code. You can also use Lean as an interactive theorem prover. Lean programming primarily involves defining types and functions. This allows your focus to remain on the problem domain and manipulating its data, rather than the details of programming. Lean has numerous features, including: - Type inference - First-class functions - Powerful data types - Pattern matching - Type classes - Extensible syntax - Hygienic macros - Dependent types - Metaprogramming framework - Multithreading - Verification: you can prove properties of your functions using Lean itself
Frequently Asked Questions
How do I install Lean using winget?
Open Windows Terminal or PowerShell and run:
winget install Lean.Lean. Winget is built into Windows 10 (version 1809+) and Windows 11 — no separate download required.What is Lean?
Programming Language and Theorem Prover
Is Lean free to download?
Lean is available under the Apache-2.0 license. Use the winget command above or click the download button to get the installer directly from the publisher.
How do I update Lean with winget?
Run
winget upgrade Lean.Lean in Windows Terminal or PowerShell to update Lean to the latest available version.What Windows versions support Lean?
The installer for Lean targets the x64 architecture. Check the publisher’s documentation for minimum Windows version requirements. Winget itself requires Windows 10 version 1809 or later.