# For bash do this: set FLASK_APP=<app_name> # For powershell do this: $env FLASK_APP=<app_name> # Run it like this flask run
# to setup and run the flask script from cmd export FLASK_APP=YourFileName.py set FLASK_APP=YourFileName.py flask run