> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proofpod.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Install pp, sign in, and run your first cloud build.

## 1. Install

```console theme={null}
$ curl -LsSf https://proofpod.dev/install.sh | sh
```

This installs two equivalent commands, `pp` and `proofpod`, as an isolated tool
using [uv](https://docs.astral.sh/uv/) (and installs uv first if you do not
have it). To install by hand:

```console theme={null}
$ uv tool install "proofpod @ https://proofpod.dev/dl/proofpod-0.1.0-py3-none-any.whl"
```

You do not need Lean installed locally to use ProofPod, although you will want
it for your editor.

## 2. Sign in

```console theme={null}
$ 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](https://docs.proofpod.dev/guide/ci.md).

## 3. Build

From inside any Lake project:

```console theme={null}
$ 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.

> [!NOTE]
>
> **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`:

```console theme={null}
$ pp --cpu 16 --memory 64G lake build
$ pp --timeout 4h lake build
```

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](https://docs.proofpod.dev/guide/resources.md).

## 5. Check a single file

Inside a project, check one file against the project's dependencies without
running a full build:

```console theme={null}
$ pp lake env lean Proofs/Lemma.lean
```

Outside any project, you can check a standalone file against a prebuilt Mathlib
by naming the version:

```console theme={null}
$ pp --mathlib v4.36.0 lean Scratch.lean
```

## 6. See what you used

```console theme={null}
$ 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](https://proofpod.dev/app/).

## What to read next

> [card] [What runs where](https://docs.proofpod.dev/guide/commands.md)
>
> Which commands run in the cloud, which stay local, and which do both.

> [card] [Lean and Mathlib versions](https://docs.proofpod.dev/guide/versions.md)
>
> How versions are chosen and how to override them.

> [card] [Sync and workspaces](https://docs.proofpod.dev/guide/sync.md)
>
> What is uploaded and what comes back.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.