# initdb > 在磁盘上创建一个PostgreSQL数据库。 > 更多信息:。 - 在`/usr/local/var/postgres`创建一个数据库: `initdb -D /usr/local/var/postgres`