PostgreSQL - How to start a PostgreSQL server on macOS?
How to start a PostgreSQL server on macOS?
1. Install PostgreSQL via homebrew
brew install postgresql
2. Start PostgreSQL
brew services start postgresql
3. Stop PostgreSQL
brew services stop postgresql
2. Install via DBngin
To go hassle-free, install and run DBngin. It will start a PostgreSQL server automatically. Stop the server via the app easily. No command required.
Download DBngin for macOS: DBngin website
Need a good GUI client for PostgreSQL? TablePlus is native, beautiful, and available for free. Check it out: Download TablePlus here.