Installing PostgreSQL on OS X
A standalone installer is available for the PostgreSQL database. To download the installer for OS X visit http://www.postgresql.org/download/macosx.
The installer will begin downloading.
When the file finishes downloading the disk image will mount. Launch the installer on the disk image.
When the installer appears you can accept all of the default values by clicking the Next button. You will need to enter a password that you will need to access the PostgreSQL server later on. Make sure you remember the password you enter.