Skip to main content
pp and proofpod are the same program.
Options belong to pp only when they come before lean or lake. Everything after the tool name is passed to the tool unchanged.

Options

Running Lean

pp lean ARGS...

Run a lean command. See What runs where.

pp lake ARGS...

Run a lake command.

pp explain lean|lake ARGS...

Print where the command would run and why, without running it.

Account

pp login [--token TOKEN] [--no-browser]

Sign in. Without options, prints a link and a short code, opens your browser, and waits for you to confirm. --token stores an existing API token instead. --no-browser only prints the link.

pp logout

Remove the credentials stored on this machine. The token itself stays valid until revoked.

pp whoami

Show the signed-in account and remaining credit.

pp usage

Show remaining credit and usage per month.

pp pricing

Show current prices.

pp token list · pp token create [NAME] · pp token revoke ID

Manage API tokens. A new token is printed once.

Runs

pp runs [-n LIMIT]

List recent cloud commands with status, duration and cost.

pp logs RUN_ID [-f]

Print a run’s output. With -f, keep following until it ends and exit with its exit code.

pp cancel RUN_ID

Stop a running command.

pp envs

List prebuilt environments and the service default.

pp status

Show how ProofPod sees the current directory: project root, Lean and Mathlib versions and where they came from, workspace, limits.

Workspaces

pp workspace list

List your cloud workspaces.

pp workspace reset [KEY] [--yes]

Delete a cloud workspace, including all build caches in it. Defaults to the workspace of the current directory. Local files are not touched.

Environment variables

Inside the sandbox, your command sees PROOFPOD=1 and PROOFPOD_RUN_ID.

Exit codes

pp exits with the exit code of the command it ran. A few codes are produced by ProofPod itself:

Files