API Reference / API Methods / Install the Ruby API Client

Install the Ruby API Client

You are currently reading the Ruby API Client v2 documentation. Read our migration guide to learn how to upgrade from v1 to v2. You can still access the v1 documentation.

Install the Ruby client using RubyGems:

$
gem install algolia

Language-specific notes

If you are a Ruby on Rails user, you are probably looking for the algoliasearch-rails gem.

Testing

For testing purposes, you might want to mock Algolia’s API calls to reduce your number of operations.

Did you find this page helpful?