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

# astro deployment bundle create

> Create a Dag or non-Dag bundle on an Astro Deployment.

<Info>
  This feature is in [Public Preview](/docs/astro/feature-previews).
</Info>

<Info>
  This command is only available on Astro.
</Info>

Create a Dag bundle or a non-Dag bundle on an Astro Deployment. Use `--name` to create a Dag bundle, or `--mount-path` to create a non-Dag bundle.

## Usage

```sh wrap theme={null}
astro deployment bundle create
```

## Options

| Option | Description | Possible Values |
| - | - | - |
| `--deployment-id` | The Deployment where you want to create the bundle. Required. | Any valid Deployment ID |
| `--name` | Name of the Dag bundle to create. Mutually exclusive with `--mount-path`. | Any string, 1-32 lowercase alphanumeric characters, dashes, and underscores |
| `--mount-path` | Mount path for a non-Dag bundle. Mutually exclusive with `--name`. | Any valid absolute path |
| `--bundle-type` | Type of a non-Dag bundle, such as `dbt`. Only valid with `--mount-path`. | Any string. Defaults to `none`. |
| `--dag-bundle-ids` | Dag bundle IDs a non-Dag bundle is served alongside. Only valid with `--mount-path`. | Comma-separated list of Dag bundle IDs |
| `--description` | Description for the bundle. | Any string |
| `--workspace-id` | Create the bundle in a Deployment that is not in your current Workspace. | Any valid Workspace ID |

## Examples

```sh wrap theme={null}
# Create a named Dag bundle
astro deployment bundle create --deployment-id <deployment-id> --name finance

# Create a non-Dag bundle mounted at a path
astro deployment bundle create --deployment-id <deployment-id> --mount-path /usr/local/airflow/dbt/revenue --bundle-type dbt
```

## Related commands

* [`astro deployment bundle list`](/docs/cli/v1.46/astro-deployment-bundle-list)
* [`astro deployment bundle update`](/docs/cli/v1.46/astro-deployment-bundle-update)
* [`astro deployment bundle delete`](/docs/cli/v1.46/astro-deployment-bundle-delete)
* [`astro deploy`](/docs/cli/v1.46/astro-deploy)
