Skip to content

Repository files navigation

Instructions to install Lean environment

Required OS: Linux (WSL) or MacOS

Step 1: Install Elan

curl https://elan.lean-lang.org/elan-init.sh -sSf | sh

Step 2: Install Lean 4 and dependencies

elan toolchain install v4.18.0
lake update # This might take > 10 minutes

Step 3: Install Lean 4 VSCode extension

Install extension Lean 4 by searching leanprover.lean4 in the VSCode extension marketplace.

Step 4: Verify Lean 4 installation

lake --version
lake lean Lean4CodeGenerator.lean

(Above command takes ~2 minutes on a MacBook Air with M2 chip and 8GB RAM)

About

AI coding assistant that generates provably correct Lean 4 programs.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages