Skip to main content

Documentation Index

Fetch the complete documentation index at: https://algolia.com/llms.txt

Use this file to discover all available pages before exploring further.

The Algolia CLI lets you work with Algolia’s APIs from your terminal. It’s great for interactive commands, scripts, and continuous integration workflows.

Before you begin

To interact with your Algolia resources, you’ll need a free Algolia account.

Install the Algolia CLI

You can install the CLI with your favorite package manager, or download binaries from the Releases page in the GitHub repository. The CLI runs on macOS, Linux, and Windows, on both AMD64 and ARM64 platforms.
The Algolia CLI is available on Homebrew. To install it, run:
brew install algolia
Or download the latest archive for your Mac: algolia_*_macOS_*.tar.gz. Unpack it by running tar xf algolia_*_macOS_*.tar.gz.

Run your first command

Explore the CLI by typing algolia. This lists the available commands. Add --help to any command to get more information about the command and its available options. For example, to list all indices in your Algolia application, run:
algolia indices list \
  --application-id ALGOLIA_APPLICATION_ID \
  --api-key ALGOLIA_API_KEY
Since this command makes a request to the Algolia Search API, you need to provide your Algolia credentials. You can find your application ID and API key in the Algolia dashboard.
To avoid entering your credentials every time, you can add profiles for each of your Algolia applications. For more information, see Authentication.

Next steps

Last modified on May 13, 2026