title: Running PostgreSQL commands from anywhere on the terminal
body: <p>First off, let me say that I'm new to both using Mac and PostgreSQL. I just installed Postgres using their installer and it was installed in /Library/Postgres/... when I tried running createdb from the terminal it returned an error <code>createdb: command not found</code>. I ended up using <code>/library/postgresql/9.6/bin/createdb</code> before I coud get it to work.
  Here's my question, how do I set it so that I don't have to type in the full path again to use the <code>createdb</code> command.
  I'd love a detailed explanation.
  Thanks</p>