To perform this command your user must be part of the database administrator role.

Run command via psql:

psql -c "CREATE EXTENSION hstore"

To see a list of extensions:

psql -c "select * from pg_available_extensions"