# Chalk CLI Reference: Offline Store Connections
source: https://docs.chalk.ai/cli#offline-store-connections

Manage offline store connections.

## `chalk offline-store connection list`
source: https://docs.chalk.ai/cli?command=offline_store_connection_list

```bash
chalk offline-store connection list
```

Use the `chalk offline-store connection list` command to view all offline store connections for the current environment, indicating which is active.

**Example**

```
$ chalk offline-store connection list
✓ Fetched offline store connections
 ID                    Name         Type       Active  Created
──────────────────────────────────────────────────────────────
 osc_abc123            my-snowflake  snowflake  Yes     1mo ago
 osc_def456            my-bigquery   bigquery   No      2mo ago
```

## `chalk offline-store connection get`
source: https://docs.chalk.ai/cli?command=offline_store_connection_get

```bash
chalk offline-store connection get [id]
```

Use the `chalk offline-store connection get` command to get details of a specific offline store connection. If no ID is provided, the active connection for the current environment is returned, or the only connection if there is just one.

**Example**

```
$ chalk offline-store connection get osc_abc123
$ chalk offline-store connection get
✓ Fetched offline store connection
```

## `chalk offline-store connection create`
source: https://docs.chalk.ai/cli?command=offline_store_connection_create

```bash
chalk offline-store connection create
```

Use the `chalk offline-store connection create` command to create a new offline store connection. Supports Snowflake, BigQuery, and Iceberg (Glue + S3) backends. Running without flags enters interactive mode.

**Flags**

- `-f, --file <file>` (string)
  Path to a JSON or YAML file containing the connection config (OfflineStoreConnectionInput proto format).

**Example**

```
$ chalk offline-store connection create
$ chalk offline-store connection create -f connection.yaml
```

## `chalk offline-store connection update`
source: https://docs.chalk.ai/cli?command=offline_store_connection_update

```bash
chalk offline-store connection update <id>
```

Use the `chalk offline-store connection update` command to update an existing offline store connection. Only fields present in the file will be updated.

**Flags**

- `-f, --file <file>` (string)
  Path to a JSON or YAML file containing the connection config (OfflineStoreConnectionInput proto format).

**Example**

```
$ chalk offline-store connection update osc_abc123 -f connection.yaml
```

## `chalk offline-store connection delete`
source: https://docs.chalk.ai/cli?command=offline_store_connection_delete

```bash
chalk offline-store connection delete <id>
```

Use the `chalk offline-store connection delete` command to delete an offline store connection.

**Example**

```
$ chalk offline-store connection delete osc_abc123
✓ Deleted offline store connection
```

## `chalk offline-store connection test`
source: https://docs.chalk.ai/cli?command=offline_store_connection_test

```bash
chalk offline-store connection test [id]
```

Use the `chalk offline-store connection test` command to test connectivity for an offline store connection. Provide an ID to test an existing connection, or --file to test a config before creating it.

**Flags**

- `-f, --file <file>` (string)
  Path to a JSON or YAML file containing the connection config to test (OfflineStoreConnectionConfigInput proto format).

**Example**

```
$ chalk offline-store connection test osc_abc123
$ chalk offline-store connection test --file connection.yaml
```

## `chalk offline-store connection activate`
source: https://docs.chalk.ai/cli?command=offline_store_connection_activate

```bash
chalk offline-store connection activate <id>
```

Use the `chalk offline-store connection activate` command to bind an offline store connection as active for the current environment.

**Example**

```
$ chalk offline-store connection activate osc_abc123
✓ Activated offline store connection osc_abc123 for environment prod
```

## `chalk offline-store connection deactivate`
source: https://docs.chalk.ai/cli?command=offline_store_connection_deactivate

```bash
chalk offline-store connection deactivate
```

Use the `chalk offline-store connection deactivate` command to remove the active offline store connection binding for the current environment.

**Example**

```
$ chalk offline-store connection deactivate
✓ Deactivated offline store connection for environment prod
```
