Ben Borgers / Posts /

How to install "psql" command for PostgreSQL on macOS

April 23, 2021 by @benborgers

You can really install the psql command for Postgres if you have Homebrew installed.

Just run these two commands:

brew install postgresql
brew services start postgresql

Now, the psql command will work locally on your Mac.

A quick favor: was anything I wrote incorrect or misspelled, or do you still have questions? Please use this form to let me know or ask for help!