
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.- macOS
- Linux
- Windows
Run your first command
Explore the CLI by typingalgolia.
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:
Command line
To avoid entering your credentials every time,
you can add profiles for each of your Algolia applications.
For more information, see Authentication.
Next steps
- Set up command completion. Enable shell completion for Bash, Zsh, Fish, or PowerShell.
- Authenticate CLI commands. Use environment variables, command-line flags, or profiles for your credentials.
- Use the CLI in automation. Tips for running the CLI in scripts, CI, and agent workflows with structured output, exit codes, and dry runs.
- Opt out of telemetry collection. Learn what the CLI reports and how to turn off telemetry and update checks.
- Usage examples for the Algolia CLI. Follow recipes for importing, exporting, comparing, and copying Algolia data.