1. 安装PostgreSQL
从官网](https://www.postgresql.org/download/)获取安装包。
我选择EDB
的安装方式,从Interactive installer by EDB下的Download the installer
进入下载页面。
选择Mac OS X下的任意版本下载。
下载完成之后,点击app进行安装。
安装一路next就可以了,但需要注意在Select Components
这一步记得勾选Stack Builder(用于之后下载PostGIS)。
- pgAdmin是用于连接和管理PostgreSQL数据库的工具(推荐一起下载)