The Algolia CLI lets you work with your Algolia resources, such as indices, records, API keys, and synonyms, and from the command line.
See Algolia CLI in the Algolia documentation for setup and usage instructions.
The Algolia CLI is available on Homebrew and as a downloadable binary from the releases page.
brew install algolia/algolia-cli/algolia
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
The Algolia CLI is available via Chocolatey and as a downloadable binary from the releases page
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!
To build the Algolia CLI from source, you'll need:
- Go version 1.23 or later
- Go task
- Clone the repo:
git clone https://github.com/kai687/cli.git algolia-cli && cd algolia-cli
- Run:
task build
If you found an issue with the Algolia CLI, open a new GitHub issue, or join the Algolia community on Discord.