Brad Lucas

A blog mostly about programming
October 6, 2017

Install PostgreSQL On A Mac Using Brew

To install Postgres on a Mac you can use brew.

$ brew update
$ brew install postgres

To create a database for yourself and login.

$ createdb `whoami`
$ psql

To drop a database.

$ dropdb DATABASE_NAME

Tags: postgres