database postgresql development-environment
Updated Thu, 04 Aug 2022 10:41:45 GMT

Where should I `initdb` on a first postgres install?

Setting up a development environment on a new machine, brew installed postgres. Now I need to initdb for the first time, which directory should i specify for this command?


It seems brew failed to create a database when installing postgres, the solution for me, as found here, was to run createdb then all was fine.

Linked Articles

Local articles referenced by this article: