I am getting
-bash: airflow: command not found
after installing Apache Airflow. I am using Google Cloud Compute Engine and OS is Debian 9 (Stretch).
I have followed the below steps:
export AIRFLOW_HOME=~/airflow
pip install apache-airflow
I have uninstalled Apache Airflow and installed it with the sudo
command (i.e., sudo pip install apache-airflow
). After that it worked fine.