# ccp store



{/* Generated by scripts/sync-cli-reference.ts */}

Manage object file storage

```text
Usage: ccp store [OPTIONS] <COMMAND>
```

Aliases: `storage`.

| Argument   | Type or values | Default | Parser environment variable | Description                                       |
| ---------- | -------------- | ------- | --------------------------- | ------------------------------------------------- |
| --org-id   | text           | —       | —                           | Select a storage organization for this invocation |
| --help, -h | flag           | —       | —                           | Print help                                        |

## `ccp store list-stores` [#ccp-store-list-stores]

List stores in the organization

```text
Usage: ccp store list-stores [OPTIONS]
```

| Argument   | Type or values | Default | Parser environment variable | Description                                       |
| ---------- | -------------- | ------- | --------------------------- | ------------------------------------------------- |
| --json     | flag           | false   | —                           | Emit store IDs and names as JSON                  |
| --org-id   | text           | —       | —                           | Select a storage organization for this invocation |
| --help, -h | flag           | —       | —                           | Print help                                        |

## `ccp store create` [#ccp-store-create]

Create a new store

```text
Usage: ccp store create [OPTIONS] <NAME>
```

| Argument   | Type or values | Default | Parser environment variable | Description                                       |
| ---------- | -------------- | ------- | --------------------------- | ------------------------------------------------- |
| name       | text           | —       | —                           | Name for the store                                |
| --org-id   | text           | —       | —                           | Select a storage organization for this invocation |
| --help, -h | flag           | —       | —                           | Print help                                        |

## `ccp store list` [#ccp-store-list]

List uploaded files

```text
Usage: ccp store list [OPTIONS]
```

Aliases: `ls`.

| Argument   | Type or values | Default | Parser environment variable | Description                                                       |
| ---------- | -------------- | ------- | --------------------------- | ----------------------------------------------------------------- |
| --mutable  | flag           | false   | —                           | Show only mutable (legacy /edge/static) files                     |
| --media    | flag           | false   | —                           | Show only media (content-addressed) files                         |
| --all, -a  | flag           | false   | —                           | Bypass the project's pinned store and pick from all stores        |
| --json     | flag           | false   | —                           | Emit JSON: full filenames, exact sizes, complete URLs, no styling |
| --org-id   | text           | —       | —                           | Select a storage organization for this invocation                 |
| --help, -h | flag           | —       | —                           | Print help                                                        |

## `ccp store put` [#ccp-store-put]

Upload files to Cluster storage

```text
Usage: ccp store put [OPTIONS] <FILES>...
```

Aliases: `upload`.

| Argument   | Type or values | Default | Parser environment variable | Description                                                           |
| ---------- | -------------- | ------- | --------------------------- | --------------------------------------------------------------------- |
| files      | path           | —       | —                           | Files to upload                                                       |
| --mutable  | flag           | false   | —                           | Upload to legacy /edge/static (Cache-Control: no-store, bypasses CDN) |
| --all, -a  | flag           | false   | —                           | Bypass the project's pinned store and pick from all stores            |
| --org-id   | text           | —       | —                           | Select a storage organization for this invocation                     |
| --help, -h | flag           | —       | —                           | Print help                                                            |

## `ccp store get` [#ccp-store-get]

Download a file from Cluster storage

```text
Usage: ccp store get [OPTIONS] <FILENAME>
```

| Argument     | Type or values | Default | Parser environment variable | Description                                                |
| ------------ | -------------- | ------- | --------------------------- | ---------------------------------------------------------- |
| filename     | text           | —       | —                           | Filename to download                                       |
| --output, -o | path           | —       | —                           | Output path (defaults to current directory)                |
| --mutable    | flag           | false   | —                           | Download from legacy /edge/static instead of media         |
| --all, -a    | flag           | false   | —                           | Bypass the project's pinned store and pick from all stores |
| --org-id     | text           | —       | —                           | Select a storage organization for this invocation          |
| --help, -h   | flag           | —       | —                           | Print help                                                 |

## `ccp store delete` [#ccp-store-delete]

Remove an uploaded file

```text
Usage: ccp store delete [OPTIONS] <FILENAME>
```

Aliases: `rm`.

| Argument   | Type or values | Default | Parser environment variable | Description                                                |
| ---------- | -------------- | ------- | --------------------------- | ---------------------------------------------------------- |
| --yes, -y  | flag           | false   | —                           | Confirm this destructive operation                         |
| filename   | text           | —       | —                           | Filename to remove                                         |
| --mutable  | flag           | false   | —                           | Remove from legacy /edge/static instead of media           |
| --all, -a  | flag           | false   | —                           | Bypass the project's pinned store and pick from all stores |
| --org-id   | text           | —       | —                           | Select a storage organization for this invocation          |
| --help, -h | flag           | —       | —                           | Print help                                                 |

## Example [#example]

```bash
ccp store list-stores --org-id "$ORG_ID" --json
```

## Global options [#global-options]

Set `CCP_CONTEXT` to choose a named context. An explicit `--context` takes precedence. See [organization selection](/docs/ccp/organizations) for organization defaults.

| Argument  | Type or values | Default | Parser environment variable | Description                                         |
| --------- | -------------- | ------- | --------------------------- | --------------------------------------------------- |
| --context | text           | —       | —                           | Select a developer context from \~/.ccp/config.toml |
