Lean
Lean.Lean
// WINGET INSTALL
> winget install Lean.Lean
About
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
Open PowerShell or Command Prompt and run: winget install Lean.Lean. Winget is built into Windows 10 (1809+) and Windows 11.
Programming Language and Theorem Prover
Lean is available under the Apache-2.0 license. Use winget or the direct download link on this page.
Run winget upgrade Lean.Lean in PowerShell or Windows Terminal to update Lean to the latest available version.
Run winget uninstall Lean.Lean in an elevated PowerShell window, or go to Settings > Apps > Installed Apps and find Lean.