# groonga - An open-source fulltext search engine and column store.

- 日本語

# 2.2. Mac OS X

This section describes how to install Groonga on Mac OS X. You can install Groonga by MacPorts or Homebrew.

## 2.2.1. MacPorts

Install:

    % sudo port install groonga

## 2.2.2. Homebrew

Install:

    % brew install groonga

If you want to use MeCab as a tokenizer, specify `--with-mecab` option:

    % brew install groonga --with-mecab

## 2.2.3. Build from source

Install Xcode.

Download source:

    % curl -O http://packages.groonga.org/source/groonga/groonga-5.1.1.tar.gz
    % tar xvzf groonga-5.1.1.tar.gz
    % cd groonga-5.1.1

Configure (see configure about `configure` options):

    % ./configure

Build:

    % make -j$(/usr/sbin/sysctl -n hw.ncpu)

Install:

    % sudo make install