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

# Quickstart

> Set up Entire, create your first checkpoint, and mirror a GitHub repository.

This quickstart will help you get started with Entire. You will learn how to create a checkpoint that links an agent session to a Git commit and how to mirror a GitHub repository on Entire.

A checkpoint stores the session context behind a change, such as the prompt, agent transcript, tool calls, and changed files. A mirror keeps GitHub as your source of truth while Entire serves the repository from a region you choose.

<div style={{ position: 'relative', paddingTop: '64.13301662707839%', width: '100%', overflow: 'hidden', borderRadius: '0.75rem' }}>
  <iframe src="https://customer-0x5hsk8lh27fm00g.cloudflarestream.com/ccb5c6edd3aaa33ce80398c83bf20f9c/iframe?muted=true&preload=true&loop=true&autoplay=true&poster=https%3A%2F%2Fcustomer-0x5hsk8lh27fm00g.cloudflarestream.com%2Fccb5c6edd3aaa33ce80398c83bf20f9c%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D%26height%3D600&controls=false" title="Entire getting started flow" loading="lazy" frameBorder="0" style={{ position: 'absolute', inset: 0, width: '100%', height: '100%', border: 0 }} allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture" allowFullScreen />
</div>

## Before You Start

You need:

* Git installed and configured
* A GitHub account and a repository you can access
* An AI coding agent, such as Claude Code, Codex, Copilot CLI, Cursor, Factory, Gemini CLI, OpenCode, or Pi
* macOS, Linux, or Windows
* Optional: GitHub CLI (`gh`) installed and authenticated, if you want Entire to create and push a private GitHub repository during setup

## 1. Install Entire

Entire ships two release channels:

* `stable`: recommended for most users.
* `nightly`: prerelease builds with newer changes.

Nightly is available through Homebrew, the Linux install script, and the Windows PowerShell installer. Scoop currently supports stable only.

<Tabs>
  <Tab title="macOS (Homebrew)">
    ```bash theme={null}
    # Stable
    brew install --cask entireio/tap/entire

    # Nightly
    brew install --cask entireio/tap/entire@nightly
    ```
  </Tab>

  <Tab title="Linux">
    ```bash theme={null}
    # Stable
    curl -fsSL https://entire.io/install.sh | bash

    # Nightly
    curl -fsSL https://entire.io/install.sh | bash -s -- --channel nightly
    ```
  </Tab>

  <Tab title="Windows">
    ```powershell theme={null}
    # Stable
    irm https://entire.io/install.ps1 | iex

    # Nightly
    iex "& {$(irm https://entire.io/install.ps1)} -Channel nightly"
    ```

    The script uses Scoop for stable installs when Scoop is available. See [Installation](/installation) for the Scoop commands and the script's options.
  </Tab>

  <Tab title="From Source">
    ```bash theme={null}
    go install github.com/entireio/cli/cmd/entire@latest
    go install github.com/entireio/cli/cmd/git-remote-entire@latest
    ```
  </Tab>
</Tabs>

Check that Entire is installed:

```bash theme={null}
entire version
```

For other installation options, see [Installation](/installation).

## 2. Open a Repository and Enable Entire

Use an existing GitHub repository, or create a new folder for a demo.

<Tabs>
  <Tab title="Existing repository">
    Clone the repository, then enter it:

    ```bash theme={null}
    git clone git@github.com:OWNER/REPOSITORY.git
    cd REPOSITORY
    ```
  </Tab>

  <Tab title="New demo repository">
    Create and enter a folder:

    ```bash theme={null}
    mkdir entire-demo
    cd entire-demo
    ```

    When you enable Entire in the next step, it initializes Git and creates an initial commit. If you have GitHub CLI installed and signed in, it also creates and pushes a private GitHub repository.
  </Tab>
</Tabs>

Choose the agent you use and run its setup command:

<AccordionGroup>
  <Accordion title="Claude Code">
    ```bash theme={null}
    entire enable -y --agent claude-code
    ```
  </Accordion>

  <Accordion title="Codex">
    ```bash theme={null}
    entire enable -y --agent codex
    ```
  </Accordion>

  <Accordion title="Copilot CLI">
    ```bash theme={null}
    entire enable -y --agent copilot-cli
    ```
  </Accordion>

  <Accordion title="Cursor">
    ```bash theme={null}
    entire enable -y --agent cursor
    ```
  </Accordion>

  <Accordion title="Factory">
    ```bash theme={null}
    entire enable -y --agent factoryai-droid
    ```
  </Accordion>

  <Accordion title="Gemini CLI">
    ```bash theme={null}
    entire enable -y --agent gemini
    ```
  </Accordion>

  <Accordion title="OpenCode">
    ```bash theme={null}
    entire enable -y --agent opencode
    ```
  </Accordion>

  <Accordion title="Pi">
    ```bash theme={null}
    entire enable -y --agent pi
    ```
  </Accordion>
</AccordionGroup>

Entire installs hooks that capture your agent's work and link it to Git commits.

<Note>
  `entire enable` creates `.entire/settings.json` and `.entire/.gitignore` so collaborators share project settings. Entire keeps `.entire/settings.local.json` local for personal overrides.
</Note>

## 3. Create Your First Checkpoint

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/ehWDtXYFZ2Y" title="How to Create Your First Checkpoint" loading="lazy" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen />

Start your agent from the repository root and give it a small task:

```text theme={null}
Create a file named hello-entire.md with a short note explaining that this is my first Entire checkpoint.
```

When the agent finishes, commit the change:

```bash theme={null}
git add hello-entire.md
git commit -m "Add first Entire checkpoint"
```

Entire asks whether to link the commit to the agent session:

```text theme={null}
Entire: Active <agent> session detected

Link this commit to session context?
  [Y]es / [n]o / [a]lways (remember my choice):
```

Press `Enter` or type `y`.

You have created a checkpoint. It links the commit to the prompt, transcript, tool calls, and files from the agent session.

View it with:

```bash theme={null}
entire checkpoint list
```

<Note>
  Choose `always` at the commit prompt if you want Entire to link future agent-assisted commits automatically.
</Note>

Checkpoint storage depends on the repository configuration. See [Session Storage](/guides/checkpoints/checkpoint-storage) for storage and push behavior.

## 4. Mirror Your Repository

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/-l0axVoGh_w" title="How to Mirror Your Repository" loading="lazy" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen />

A mirror lets agents clone and pull through Entire while GitHub remains the upstream repository.

Before you begin, make sure the [Entire GitHub App](/guides/repositories/github-app-access) can access the repository. An organization admin may need to approve the app.

Create a mirror:

```bash theme={null}
entire repo mirror create
```

Choose your repository and the region where you want Entire to host it. Choose a region close to your agents or one that meets your organization's data-residency requirements.

Then configure this checkout to use the mirror:

```bash theme={null}
entire repo mirror use
```

For this quickstart, choose to replace `origin`. Entire saves the GitHub remote as `upstream` when that name is available.

Check the result:

```bash theme={null}
git remote -v
```

`origin` should now use an `entire://` URL. Continue using Git normally:

```bash theme={null}
git fetch
git push
```

Entire sends pushes through the mirror to GitHub. Your existing GitHub access, branch protection, and review rules still apply.

<Note>
  To keep `origin` pointed at GitHub, add Entire as a separate remote instead:

  ```bash theme={null}
  entire repo mirror use --remote entire
  ```
</Note>

## Continue With

<CardGroup cols={2}>
  <Card title="Inspect Checkpoints" icon="flag" href="/guides/checkpoints/inspect-checkpoints">
    Review the session and decisions behind a commit.
  </Card>

  <Card title="Search Past Work" icon="magnifying-glass" href="/guides/search/overview">
    Search code, commits, and agent sessions together.
  </Card>

  <Card title="Mirrors in the CLI" icon="terminal" href="/guides/repositories/mirrors-in-cli">
    Learn more about mirror regions and Git remotes.
  </Card>

  <Card title="Set Up an Agent" icon="robot" href="/agents/setup">
    Configure another supported coding agent.
  </Card>
</CardGroup>
