Quickstart¶
1. Install¶
This installs two equivalent commands, pp and proofpod, as an isolated tool
using uv (and installs uv first if you do not
have it). To install by hand:
You do not need Lean installed locally to use ProofPod, although you will want it for your editor.
2. Sign in¶
$ pp login
To sign in, open:
https://proofpod.dev/activate?code=BCDF-GHJK
and confirm the code BCDF-GHJK.
Your browser opens, you create an account or sign in, confirm the code, and the terminal finishes on its own. Every account gets $5 of credit each month; no card is required.
On a server or in CI, where there is no browser, use a token instead. See CI and automation.
3. Build¶
From inside any Lake project:
$ pp lake build
⚠ [18252/18256] Built Demo.More (4.2s)
✔ [18254/18256] Built Demo (4.1s)
Build completed successfully (18256 jobs).
proofpod: 28.1s · 53.7 core-s · 6.3 GiB-s · $0.0020 · Lean v4.36.0 + Mathlib v4.36.0
The last line is ProofPod's summary: wall time, what was billed, and the environment that was used. It is printed to stderr and only on a terminal, so it never ends up in redirected output.
The first command in a project uploads your sources. After that only changed files are sent, which usually takes well under a second.
First use of a version
If nobody has used your exact Lean and Mathlib versions before, ProofPod
builds that environment first. It takes about five minutes, happens once,
and is free. pp envs lists the versions that are already built.
4. Ask for more machine¶
Options go before lean or lake:
These are limits. You are billed for what the command uses, so there is no penalty for setting them generously. See CPU, memory and timeouts.
5. Check a single file¶
Inside a project, check one file against the project's dependencies without running a full build:
Outside any project, you can check a standalone file against a prebuilt Mathlib by naming the version:
6. See what you used¶
$ pp runs # recent commands with status, time and cost
$ pp usage # this month's totals and remaining credit
$ pp status # how ProofPod sees the current directory
The same information is in the dashboard.
What to read next¶
- What runs where explains which commands run in the cloud, which stay local, and which do both.
- Lean and Mathlib versions explains how versions are chosen and how to override them.
- Sync and workspaces explains what is uploaded and what comes back.