Install on OS X

This document describes how to install PGroonga on OS X.

How to install by Homebrew

You can install PGroonga by Homebrew:

% brew install pgroonga

If you want to use MeCab based tokenizer, you need to reinstall groonga package with --with-mecab option:

% brew reinstall groonga --with-mecab

Create a database:

% psql --command 'CREATE DATABASE pgroonga_test'

(Normally, you should create a user for pgroonga_test database and use the user. See GRANT USAGE ON SCHEMA pgroonga for details.)

Connect to the created database and execute CREATE EXTENSION pgroonga:

% psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'

That's all!

Try tutorial. You can understand more about PGroonga.