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 be interested in seeing how to mock Algolia’s API calls

Did you find this page helpful?