algolia-cli

Automate Algolia admin operations via CLI with ndjson and JSON formats.

9|3|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/algolia/skills --skill algolia-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: algolia-cli
Source: https://github.com/algolia/skills/tree/main/skills/algolia-cli
Command: npx skills add https://github.com/algolia/skills --skill algolia-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Administrators and developers often need to perform write operations, backups, and configuration changes on Algolia indices from the terminal rather than the dashboard. This skill provides a single, consistent CLI interface to manage data, keys, and settings, speeding up admin workflows and enabling automation.

Core Features & Use Cases

  • Manage data: import, update, delete records in bulk with ndjson files and piping patterns.
  • Control indices and settings: copy, move, clear indices; get/set settings; export/import configurations.
  • Security and automation: create and manage API keys with restricted ACLs; CI/CD integration.

Quick Start

Load the full skill with /algolia-cli and configure a default profile with algolia profile add.

Frequently Asked Questions about algolia-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Algolia index management from the command line?

You can automate Algolia index management by using a CLI to copy, move, clear indices, and apply settings in non-interactive mode for CI/CD workflows. It supports bulk record operations via piping patterns and ndjson files.

How do I import and update Algolia records in bulk?

Bulk import and update Algolia records by piping ndjson or JSON files through the command line. This enforces non-interactive execution to safely automate data backups and write operations without dashboard interaction.

Can I configure Algolia API keys and ACLs via the CLI?

Yes, you can create and manage Algolia API keys with restricted ACLs directly from the CLI. This allows secure automation of admin workflows and integration into CI/CD pipelines without manual dashboard configuration.

Does the Algolia CLI support non-interactive workflows for CI/CD?

The Algolia CLI enforces non-interactive mode to support CI/CD and admin workflows. It uses correct commands for synonyms and rules, allowing automated configuration changes and data backups without terminal prompts.

What is the best way to backup Algolia index settings and data?

The best way to backup Algolia data and settings is using the CLI to export configurations and records. It handles ndjson and JSON formats, enabling automated backups and easy restoration of indices.

How do I manage Algolia synonyms and rules outside the dashboard?

Manage Algolia synonyms and rules outside the dashboard by using specific CLI commands. This enables non-interactive updates and configuration syncing within automated admin workflows.