[Python] How to run Airflow on Windows

Discussão em 'Python' iniciado por Stack, Abril 28, 2025.

  1. Stack

    Stack Membro Participativo

    The usual instructions for running Airflow do not apply on a Windows environment:

    # airflow needs a home, ~/airflow is the default,
    # but you can lay foundation somewhere else if you prefer
    # (optional)
    export AIRFLOW_HOME=~/airflow

    # install from pypi using pip
    pip install airflow

    # initialize the database
    airflow initdb

    # start the web server, default port is 8080
    airflow webserver -p 8080


    The Airflow utility is not available in the command line and I can't find it elsewhere to be manually added. How can Airflow run on Windows?

    Continue reading...

Compartilhe esta Página