Skip to main content

Documentation Index

Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The behavior and format of this command are the same for both Astro and Astro Private Cloud.
Download a dag from the Astronomer Registry to your Astro project.

Usage

astro registry dag add
When you run the command, the CLI prompts you for a dag ID to download. To retrieve the dag name, open the dag in the Astronomer registry and copy the URL between dags/ and /versions. For example, in the URL https://registry.astronomer.io/dags/upload_files_to_s3/versions/1.0.0, copy upload_files_to_s3.

Options

OptionDescriptionValid Values
<dag-id>The dag ID to download.Any valid dag ID. Must be the first option in the command.
--versionThe version of the dag to download.Any valid version.
--add-providersAttempt to add the required providers for the dag to requirements.txt.None.

Examples

# Download version 1.0.0 of a dag called 'upload_files_to_s3'
astro registry dag add upload_files_to_s3 --version 1.0.0