Install Apache Airflow and Astronomer Cosmos

Teradata Developer Guides

ft:locale
en-US
ft:lastEdition
2026-08-18
  1. Create a new python environment to manage airflow and its dependencies. Activate the environment: !!! note This will install Apache Airflow as well.

    python3 -m venv airflow_env
    source airflow_env/bin/activate
    pip install "astronomer-cosmos"
    
  2. Install the Apache Airflow Teradata provider

    pip install "apache-airflow-providers-teradata"
    
  3. Set the AIRFLOW_HOME environment variable.

    export AIRFLOW_HOME=~/airflow
    

    Tip

    Add this line to your shell profile (e.g. ~/.zshrc on macOS, ~/.bashrc on Linux/WSL) so it's set automatically in every new terminal session, instead of having to re-export it each time:

    echo 'export AIRFLOW_HOME=~/airflow' >> ~/.zshrc