How to put psql on the path when using Postgres.app on OS X?

前端 未结 10 1353
面向向阳花
面向向阳花 2021-02-05 05:01

I\'ve installed Postgres93 on my Mac. I can open the application, and \"Open psql\" through the app which opens up a command line interface with psql.

However, when I ty

10条回答
  •  眼角桃花
    2021-02-05 05:32

    On macos mojave i've added the following line on my ~/.profile :

    export PATH=$PATH:/Library/PostgreSQL/10/bin
    

    the psql command line client lies into this folder. i've used the enterprisedb installer.

提交回复
热议问题