1If you want to manually start and stop PostgreSQL (installed via Homebrew), the easiest way is:
2
3brew services start postgresql
4
5and
6
7brew services stop postgresql
8
9If you have a specific version, make sure to suffix the version. For example:
10
11brew services start postgresql@10