There are packages for major platforms. You can install PGroonga easily.
There are separated documents for these platforms. And there is a document for building PGroonga from source.
Here are supported PostgreSQL versions:
If your PostgreSQL is older than them, you need to upgrade your PostgreSQL before you install PGroonga.
See a document for your platform in the followings:
If you can't find your platform in the above list, build and install from source or send a request as an issue.