-
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" -
Install the Apache Airflow Teradata provider
pip install "apache-airflow-providers-teradata" -
Set the AIRFLOW_HOME environment variable.
export AIRFLOW_HOME=~/airflowTip
Add this line to your shell profile (e.g.
~/.zshrcon macOS,~/.bashrcon 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