Mac に Homebrew で postgresql をインストールしたので手順をご紹介します。 postgresql のインストール まず brew コマンドで postgresql をインストールします。 Homebrew をインストールしていない方は、以下を参考にして下さい。 参考: [Mac] Homebrew をインストール(ついでにGitもインストール) | CodeNote brew install postgresql PostgreSQL のデータベース初期化 initdb /usr/local/var/postgres -E utf8 --no-locale 自動起動の設定 ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents launchctl load ~/Library/LaunchAg