I am getting "bash: airflow: command not found"

If installed with sudo, as mentioned by Sirajus, it will be placed in /usr/local/bin/.

Without sudo, it will be placed in the ~/.local/bin/ folder. This folder will not be added to the PATH environment variable automatically.

So you can either add it to the PATH environment variable or install it using sudo.


Post install, re-load environment variable and you are good to go.


I have uninstalled Apache Airflow and installed it with the sudo command (i.e., sudo pip install apache-airflow). After that it worked fine.