This means that you do not have a command psqlin your system. Try to which psqlconfirm. If you installed postgres, then this means that its directory is binnot in your $ PATH. If you have not installed postgres yet, install postgres and try again.
source
share