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

# cac

> Isolate, protect, and manage your Claude Code

**cac** gives you full control over your Claude Code runtime — versions, config, identity, and network — from a single CLI.

Each environment is completely isolated: its own Claude Code binary, `.claude` config directory, device fingerprint, and optional proxy route.

<Columns cols={2}>
  <Card title="Quickstart" icon="rocket" href="/docs/quickstart">
    Create your first isolated environment in 60 seconds.
  </Card>

  <Card title="Concepts" icon="lightbulb" href="/docs/concepts">
    How versions, environments, and isolation work together.
  </Card>

  <Card title="Commands" icon="terminal" href="/docs/commands/env">
    Full reference for cac claude, env, self, and docker.
  </Card>

  <Card title="How it works" icon="shield-halved" href="/docs/reference/how-it-works">
    Wrapper architecture, fingerprint layers, telemetry blocking.
  </Card>
</Columns>

## What cac does

<AccordionGroup>
  <Accordion title="Version management" icon="download" defaultOpen={true}>
    Download, pin, and switch Claude Code binaries. Each environment can use a different version.

    ```bash theme={null}
    cac claude install latest
    cac claude pin 2.1.81
    ```
  </Accordion>

  <Accordion title="Config isolation" icon="folder-tree">
    Each environment gets its own `CLAUDE_CONFIG_DIR` — sessions, settings, memory, and auth tokens are fully separate.
  </Accordion>

  <Accordion title="Fingerprint spoofing" icon="fingerprint">
    Shell shims + Node.js hooks replace all device identifiers: hardware UUID, hostname, MAC address, machine ID.
  </Accordion>

  <Accordion title="Telemetry blocking" icon="shield">
    DNS guard + 12 environment variables + fetch interception + HOSTALIASES — multiple independent layers.
  </Accordion>

  <Accordion title="Proxy routing" icon="globe">
    Optional process-level HTTP/SOCKS5 proxy with auto-protocol detection. Auto-relay when TUN conflicts detected.
  </Accordion>
</AccordionGroup>

## Command overview

```bash theme={null}
cac claude   install | ls | pin | uninstall       # version management
cac env      create | ls | rm | activate |        # environment management
             set | check
cac self     update | delete                      # self-management
cac docker   setup | start | enter | ...          # containerized mode
```

<Tip>
  Proxy is optional. API Key users get the same fingerprint isolation and telemetry blocking — just skip the `-p` flag. See [API key users](/docs/guides/api-key-users).
</Tip>
