psql: command not found Mac

后端 未结 11 802
清酒与你
清酒与你 2021-01-29 22:16

I installed PostgreSQL via the graphical install on http://www.postgresql.org/download/macosx/

I see it in my applications and also have the psql terminal in my applicat

11条回答
  •  后悔当初
    2021-01-29 22:40

    From the Postgres documentation page:

    sudo mkdir -p /etc/paths.d && echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp

    restart your terminal and you will have it in your path.

提交回复
热议问题