Skip to content

algolia/cli

Repository files navigation

Algolia CLI

The Algolia CLI lets you work with your Algolia resources, such as indices, records, API keys, and synonyms, and from the command line.

cli

Documentation

See Algolia CLI in the Algolia documentation for setup and usage instructions.

Installation

macOS

The Algolia CLI is available on Homebrew and as a downloadable binary from the releases page.

brew install algolia/algolia-cli/algolia

Linux

The Algolia CLI is available as a .deb package:

# Select the package appropriate for your platform:
sudo dpkg -i algolia_*.deb

as a .rpm package:

# Select the package appropriate for your platform
sudo rpm -i algolia_*.rpm

or as a tarball from the releases page:

# Select the archive appropriate for your platform
tar xvf algolia_*_linux_*.tar.gz

Windows

The Algolia CLI is available via Chocolatey and as a downloadable binary from the releases page

Community packages

Other packages are maintained by the community, not by Algolia. If you distribute a package for the Algolia CLI, create a pull request so that we can list it here!

Build from source

To build the Algolia CLI from source, you'll need:

  1. Clone the repo: git clone https://github.com/kai687/cli.git algolia-cli && cd algolia-cli
  2. Run: task build

Support

If you found an issue with the Algolia CLI, open a new GitHub issue, or join the Algolia community on Discord.