Ben Borgers

⇢ Twitter

How to install "psql" command for PostgreSQL on macOS

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.

--

Last updated April 23, 2021