1

I want to install PostgreSQL on my Macbook Pro ( M1 Silicon Chip ) but I could not make it done.

What I have done:

  • Downloaded postgresql and installed.
  • Downloaded postgres command line for brew.
  • Tried to start by pg_ctl -D /usr/local/var/postgres start and getting error: pg_ctl: directory "/usr/local/var/postgres" is not a database cluster directory.
  • Tried to define a directory for the db by initdb /usr/local/var/postgres and getting error: zsh: killed initdb /usr/local/var/postgres

1 Answer 1

1

On macos, i highly recommend you the postgres app: https://postgresapp.com/

Sign up to request clarification or add additional context in comments.

1 Comment

That really works :) Thanks. Just an info, I need a GUI for this and I installed Valentino Studio. Postgreapp is just an PostgreSQL runner.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.