MCPcopy Index your code
hub / github.com/algolia/cli

github.com/algolia/cli @v1.11.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.11.0 ↗ · + Follow
1,299 symbols 7,326 edges 267 files 512 documented · 39% updated todayv1.11.0 · 2026-06-29★ 10712 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

npm (any platform)

The Algolia CLI is published on npm as @algolia/cli.

Run without installing:

npx @algolia/cli --help

Or install globally:

npm install -g @algolia/cli

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:

  • Go version 1.23 or later
  • Go task

  • Clone the repo: git clone https://github.com/algolia/cli.git algolia-cli && cd algolia-cli

  • 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.

Extension points exported contracts — how you extend this code

Printer (Interface)
Printer is an interface that knows how to print interfaces. [4 implementers]
pkg/printers/interface.go
TelemetryClient (Interface)
(no doc) [4 implementers]
pkg/telemetry/telemetry.go
FlagsHandler (Interface)
(no doc) [3 implementers]
pkg/cmd/shared/handler/flags_handler.go
IConfig (Interface)
(no doc) [2 implementers]
pkg/config/config.go
Matcher (FuncType)
(no doc)
pkg/httpmock/stub.go
PrinterFunc (FuncType)
PrinterFunc is a function that can print interfaces
pkg/printers/interface.go
Responder (FuncType)
(no doc)
pkg/httpmock/stub.go
TablePrinter (Interface)
(no doc) [2 implementers]
pkg/printers/table_printer.go

Core symbols most depended-on inside this repo

Errorf
called by 258
pkg/httpmock/registry.go
String
called by 192
pkg/cmd/synonyms/shared/flags_to_synonym.go
StopProgressIndicator
called by 129
pkg/iostreams/iostreams.go
Error
called by 112
pkg/cmdutil/errors.go
NewFactory
called by 105
test/helpers.go
REST
called by 94
pkg/httpmock/stub.go
Register
called by 94
pkg/httpmock/registry.go
Run
called by 93
test/helpers.go

Shape

Function 811
Method 263
Struct 206
TypeAlias 8
Interface 7
FuncType 4

Languages

Go100%

Modules by API surface

api/dashboard/types.go37 symbols
pkg/iostreams/iostreams.go35 symbols
pkg/telemetry/telemetry.go34 symbols
pkg/iostreams/color.go30 symbols
pkg/telemetry/events.go29 symbols
pkg/config/config.go27 symbols
api/dashboard/client_test.go27 symbols
pkg/cmd/application/planchange/planchange_test.go25 symbols
pkg/cmd/application/create/create_test.go24 symbols
pkg/cmd/application/planchange/planchange.go23 symbols
pkg/printers/table_printer.go21 symbols
api/dashboard/client.go21 symbols

For agents

$ claude mcp add cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact