psql error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory
I was installing postgres on macos sonoma (apple M1 chip) and after installing, then starting the service and finally running psql in the terminal I ran into this error