> ## 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 dbt cleanup

Remove Cosmos Boost artifacts from one or more paths in your local project. Use this command after you disable the [Cosmos Boost pre-deploy step](/docs/cli/v1.44/configure-cli), or to clear artifacts left by an earlier deploy.

`astro dbt cleanup` only removes `.astro/dbt_metadata.json` files that the Cosmos Boost pre-deploy step generated. It doesn't remove any other files under `.astro/`.

## Usage

```bash wrap theme={null}
astro dbt cleanup <path> <options>
```

## Options

| Option   | Description                                                             | Possible Values                                           |
| -------- | ----------------------------------------------------------------------- | --------------------------------------------------------- |
| `<path>` | One or more paths to remove Cosmos Boost artifacts from. Default is `.` | Any valid filepath. Repeat to specify more than one path. |

## Examples

To remove Cosmos Boost artifacts from the current directory:

```bash wrap theme={null}
astro dbt cleanup
```

To remove Cosmos Boost artifacts from specific paths:

```bash wrap theme={null}
astro dbt cleanup dbt/project-a dbt/project-b
```

## Related commands

* [`astro dbt deploy`](/docs/cli/v1.44/astro-dbt-deploy)
* [`astro dbt delete`](/docs/cli/v1.44/astro-dbt-delete)
