Skip to content

Commit cf3b617

Browse files
docs: add npm install option to README (#223)
Co-authored-by: Lorris Saint-Genez <lorrissaintgenez@gmail.com>
1 parent 9a60ca9 commit cf3b617

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ See [Algolia CLI](https://algolia.com/doc/tools/cli/) in the Algolia documentati
1212

1313
## Installation
1414

15+
### npm (any platform)
16+
17+
The Algolia CLI is published on npm as [`@algolia/cli`](https://www.npmjs.com/package/@algolia/cli).
18+
19+
Run without installing:
20+
21+
```sh
22+
npx @algolia/cli --help
23+
```
24+
25+
Or install globally:
26+
27+
```sh
28+
npm install -g @algolia/cli
29+
```
30+
1531
### macOS
1632

1733
The Algolia CLI is available on [Homebrew](https://brew.sh/) and as a downloadable binary from the [releases page](https://github.com/algolia/cli/releases).

0 commit comments

Comments
 (0)