psql command not found windows

Solutions on MaxInterview for psql command not found windows by the best coders in the world

showing results for - "psql command not found windows"
Maia
07 Sep 2016
1Assuming you installed PostgreSQL on Windows with the PostgreSQL "One-click" installer packaged by EnterpriseDB, psql is not added to the PATH automatically. That's partly because adding it to the path could otherwise cause confusion when people have multiple versions of PostgreSQL installed.
2
3You need to specify the full explicit path to psql, eg:
4
5"%PROGRAMFILES%\Postgresql\9.2\bin\psql.exe"
6or add psql to the user PATH environment variable, see eg this guide.