If Postgresql was downloaded from official website. bashrc, this output is returned when I open terminal -bash: export: `/Library/PostgreSQL/9.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin': not a valid identifier I've restarted my terminal also.Īfter adding to. I've tried setting the bath to just the /Library/PostgreSQL/9.5/bin/ as well. The only other thing in ~/.bash_profile is SDK man and it's at the bottom of the script as it says it should be. I then edited my ~/.bash_profile and added it to the path like so: export PATH = /Library/PostgreSQL/9.5/bin/psql:$PATH I ran the following in the terminal: locate psql | grep /binĪnd the output was /Library/PostgreSQL/9.5/bin/psql In the Mac terminal, my output is -bash: psql: command not found I need psql to work in the regular terminal for another bash script I'm running for an app. I see it in my applications and also have the psql terminal in my applications. I installed PostgreSQL via the graphical install on
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |