Complete the command to install Apache Airflow using pip.
pip install apache-airflow[1]The correct way to specify a version when installing Airflow with pip is to use == followed by the version number.
Complete the command to initialize the Airflow database after installation.
airflow db [1]After installing Airflow, you run airflow db init to set up the database.
Fix the error in the command to start the Airflow webserver on port 8080.
airflow webserver [1] 8080
The correct flag to specify the port for the Airflow webserver is --port.
Fill both blanks to create a virtual environment and activate it before installing Airflow.
python3 -m [1] airflow_env && source airflow_env/[2]
Use python3 -m venv to create a virtual environment and source airflow_env/bin/activate to activate it on Unix-like systems.
Fill all three blanks to set environment variables for Airflow home, initialize the database, and start the scheduler.
export AIRFLOW_HOME=[1] && airflow db [2] && airflow [3]
Set AIRFLOW_HOME to your Airflow folder, initialize the DB with init, then start the scheduler with scheduler.