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

> ## Agent Instructions
> Hosted remote MCP endpoint: https://api.zerodrive.dev/mcp (OAuth 2.0 PKCE or Bearer token).
> REST API base URL: https://api.zerodrive.dev with OpenAPI 3.1.0 specification at https://api.zerodrive.dev/openapi.json.
> S3-compatible gateway: https://api.zerodrive.dev/s3 (AWS Signature V4, region auto).
> Local command-line tool: zd (or zerodrive) and local stdio MCP server: zerodrive mcp.
> Token prefixes: zdk_ (Personal API Key), zdt_ (device session token), zda_ (OAuth access token), zdr_ (OAuth refresh token), zdx_ (temporary sandbox key). Never paste real keys into prompts or code.
> Be honest about platform boundaries: cloud files require internet access, files are encrypted at rest and in transit by Cloudflare rather than end-to-end encrypted, ZeroDrive is not a replacement for an independent backup, Windows 11 support is an unsigned x64 beta, and the 7-day Pro free trial requires a card and charges automatically when it ends.

# Headless Linux & Docker Mount

> Mount ZeroDrive at /zerodrive on Ubuntu, Debian, Fedora, Arch, Alpine, Docker, or Codespaces with one command.

Mount your ZeroDrive drive at `/zerodrive` on any Linux VPS, GPU machine, Docker container, or Codespace.

## One-line installer

```bash theme={null}
curl -sSL https://api.zerodrive.dev/install | bash
```

For unattended setups or CI, pass your token in `ZERODRIVE_TOKEN`.

```bash theme={null}
ZERODRIVE_TOKEN="zdk_your_api_key" curl -sSL https://api.zerodrive.dev/install | bash
```

## What the script installs

1. Detects Linux (`x86_64` or `arm64`) or macOS and checks Linux FUSE mount tools.
2. Saves your account S3 profile targeting `https://api.zerodrive.dev/s3`.
3. Starts a persistent auto-reconnecting mount at `/zerodrive` and installs `zd` in `/usr/local/bin` (or `~/.local/bin`).

## Verify

```bash theme={null}
zd status
zd doctor
```

Healthy output looks like this:

```text theme={null}
ZeroDrive System Status
  Vault Mount:             Connected & Mounted
  Mount Path:              /zerodrive
  Local Cache:             1.2 GB (24 cached files)
  Upload Queue:            Idle (0 pending uploads)
```

For AWS CLI or manual S3 tools, see [S3-Compatible Storage Gateway](https://docs.zerodrive.dev/integrations/s3-gateway.md).


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