Official Algolia CLI for searching indices, managing records and settings, and administering search resources from the terminal.
$brew install algolia/algolia-cli/algolia
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Algolia CLI is Algolia's command-line interface for working with search indices and the resources around them, including records, settings, rules, synonyms, API keys, dictionaries, crawler jobs, and analytics events. It gives you direct terminal access to routine search administration without going through the dashboard.
What It Enables
- Search an index, browse records, import or update objects, and inspect index analysis or configuration from the shell.
- List, copy, move, clear, or delete indices and manage settings, rules, synonyms, and dictionary entries in scripted workflows.
- Inspect API keys, tail analytics events, and manage crawler runs, tests, stats, reindexing, and related crawler operations.
Agent Fit
- Shared
--outputprinters support JSON and JSONPath, and search plus record-browse commands default to JSON, which makes follow-up parsing straightforward. - Most commands are explicit non-interactive subcommands with stable flags, so they fit inspect/change/verify loops well once credentials are configured.
- Setup and destructive actions add some friction: profile bootstrap often starts interactively, some commands require
-y/--confirmin non-TTY use, and crawler commands need separate crawler credentials.
Caveats
- Requires Algolia credentials and ACL-scoped keys, and some operations only work with admin-level access.
events tailis a long-running poller tied to the correct analytics region, and crawler commands authenticate separately from the main search profile.