How to use command line tools for postgres app on mac os
If you want to use command line tools with postgres app you need to set PATH variable see below.
Open your ~/.profile file and paste the file below.
After this you need to source the file or restart your terminal.
The above command is only for postgres version 9.6 if you update the version of postgresql you need to change the command accordingly.