For now, build weylc from source. Prebuilt binaries will ship with the first tagged release.
Weyl uses the Rust 2024 edition and needs Rust 1.85 or newer.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update stableClone the compiler repository.
git clone https://github.com/weyl-lang/weyl.git
cd weylInstalls weylc into ~/.cargo/bin. The JIT backend uses Cranelift, so no separate LLVM install is needed.
cargo install --path crates/weylc --lockedCheck the version and run the physical type checker on a bundled example.
weylc --version
weylc check examples/toric_boundary.weylPowers proof search and counterexample pre-checks for theorems. Install Lean via elan; the toolchain is pinned by lean/lean-toolchain (v4.36.0, with Mathlib pinned to match).
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh
cd lean && lake exe cache get && lake buildOptional. weylc runs fully without an LLM using its built-in heuristic scheduler; when wanted, serve MCP for one program over stdin/stdout.
weylc mcp --help