docs: added NPM install option

This commit is contained in:
Daniel Hougaard
2024-11-12 21:48:04 +04:00
parent 8cfc217519
commit 93c0313b28
+17 -5
View File
@@ -9,7 +9,7 @@ You can use it across various environments, whether it's local development, CI/C
## Installation ## Installation
<Tabs> <Tabs>
<Tab title="MacOS"> <Tab title="MacOS">
Use [brew](https://brew.sh/) package manager Use [brew](https://brew.sh/) package manager
```bash ```bash
@@ -21,9 +21,8 @@ You can use it across various environments, whether it's local development, CI/C
```bash ```bash
brew update && brew upgrade infisical brew update && brew upgrade infisical
``` ```
</Tab>
</Tab> <Tab title="Windows">
<Tab title="Windows">
Use [Scoop](https://scoop.sh/) package manager Use [Scoop](https://scoop.sh/) package manager
```bash ```bash
@@ -40,7 +39,20 @@ You can use it across various environments, whether it's local development, CI/C
scoop update infisical scoop update infisical
``` ```
</Tab> </Tab>
<Tab title="NPM">
Use [NPM](https://www.npmjs.com/) package manager
```bash
npm install -g @infisical/cli
```
### Updates
```bash
npm update -g @infisical/cli
```
</Tab>
<Tab title="Alpine"> <Tab title="Alpine">
Install prerequisite Install prerequisite
```bash ```bash