Tags

, , ,

I’ve used the following link to setup my mac.

https://github.com/nicolashery/mac-dev-setup

But after the setup and installing the postgres i wanted to access postgres using iterm2 but

when i say psql it reported no command found!

we can do

export PATH = “/Applications/Postgres.app/Contents/Versions/version/bin:$PATH”

http://postgresapp.com/documentation/

or if u want it to forever and for each terminal instance add it to zshrc if  u have setup zsh

add the line to ~/.zshrc and you are done.

close this terminal instance and open new one it works great.

Advertisements