diff --git a/npm/algolia/README.md b/npm/algolia/README.md index d07393cd..b3a353e1 100644 --- a/npm/algolia/README.md +++ b/npm/algolia/README.md @@ -4,22 +4,24 @@ The official Algolia CLI lets you manage your Algolia resources — indices, rec > This package installs a prebuilt Go binary. The npm wrapper still requires Node.js to launch the installed command. -## Installation +## Usage + +Run without installing: ```sh -npm install -g @algolia/cli +npx @algolia/cli --help ``` -Or run without installing: +Or install globally: ```sh -npx @algolia/cli --help +npm install -g @algolia/cli +algolia --help ``` -## Usage +## Examples ```sh -algolia --help algolia search --index my-index --query "foo" algolia indices list algolia apikeys list