mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 10:27:26 +00:00
Update docs for cli install to use tabs
This commit is contained in:
+65
-56
@@ -7,74 +7,83 @@ description: "Install the official Infisical CLI for both your development and p
|
|||||||
|
|
||||||
Installing Infisical CLI is simple. Just follow the guide for your OS below.
|
Installing Infisical CLI is simple. Just follow the guide for your OS below.
|
||||||
|
|
||||||
<Accordion title="Install on MacOS ">
|
<Tabs>
|
||||||
Use [brew](https://brew.sh/) package manager
|
<Tab title="MacOS">
|
||||||
|
Use [brew](https://brew.sh/) package manager
|
||||||
|
|
||||||
```
|
```
|
||||||
$ brew install infisical/get-cli/infisical
|
$ brew install infisical/get-cli/infisical
|
||||||
$ infisical --version
|
$ infisical --version
|
||||||
```
|
```
|
||||||
|
|
||||||
To update:
|
To update:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ brew upgrade infisical
|
$ brew upgrade infisical
|
||||||
```
|
```
|
||||||
</Accordion>
|
</Tab>
|
||||||
|
<Tab title="Windows">
|
||||||
|
Use [Scoop](https://scoop.sh/) package manager
|
||||||
|
|
||||||
<Accordion title="Install on Windows ">
|
```
|
||||||
Use [Scoop](https://scoop.sh/) package manager
|
$ scoop bucket add org https://github.com/Infisical/scoop-infisical.git
|
||||||
|
$ scoop install infisical
|
||||||
|
$ infisical --version
|
||||||
|
```
|
||||||
|
|
||||||
```
|
To update:
|
||||||
$ scoop bucket add org https://github.com/Infisical/scoop-infisical.git
|
|
||||||
$ scoop install infisical
|
|
||||||
$ infisical --version
|
|
||||||
```
|
|
||||||
|
|
||||||
To update:
|
```
|
||||||
|
$ scoop update infisical
|
||||||
|
```
|
||||||
|
</Tab>
|
||||||
|
<Tab title="Alpine">
|
||||||
|
Install prerequisite
|
||||||
|
```
|
||||||
|
$ sudo apk add --no-cache bash sudo
|
||||||
|
```
|
||||||
|
|
||||||
```
|
Add Infisical repository
|
||||||
$ scoop update infisical
|
```
|
||||||
```
|
$ curl -1sLf \
|
||||||
</Accordion>
|
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \
|
||||||
|
| sudo -E bash
|
||||||
|
```
|
||||||
|
|
||||||
|
Then install CLI
|
||||||
<Accordion title="Install on RedHat/CentOS">
|
```
|
||||||
```
|
$ apk update && apk add infisical
|
||||||
$ curl https://raw.githubusercontent.com/Infisical/infisical/main/infisical-cli.repo | tee /etc/yum.repos.d/infisical-cli.repo
|
```
|
||||||
|
</Tab>
|
||||||
$ yum update && sudo yum install infisical
|
<Tab title="RedHat/CentOs/Amazon">
|
||||||
```
|
Add Infisical repository
|
||||||
</Accordion>
|
```
|
||||||
|
$ curl -1sLf \
|
||||||
<Accordion title="Install on Alpine">
|
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' \
|
||||||
```
|
|
||||||
$ apk add --no-cache bash sudo curl
|
|
||||||
$ curl -1sLf \
|
|
||||||
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \
|
|
||||||
| sudo -E bash
|
| sudo -E bash
|
||||||
|
```
|
||||||
|
|
||||||
$ sudo apk add infisical
|
Then install CLI
|
||||||
|
```
|
||||||
|
$ yum install infisical
|
||||||
|
```
|
||||||
|
</Tab>
|
||||||
|
<Tab title="Debian/Ubuntu">
|
||||||
|
Add Infisical repository
|
||||||
|
|
||||||
|
```
|
||||||
|
$ curl -1sLf \
|
||||||
|
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' \
|
||||||
|
| sudo -E bash
|
||||||
|
```
|
||||||
|
|
||||||
$ infisical --help
|
Then install CLI
|
||||||
```
|
```
|
||||||
</Accordion>
|
$ apt-get update && apt-get install -y infisical
|
||||||
|
```
|
||||||
|
|
||||||
<Accordion title="Install on Debian/Ubuntu">
|
</Tab>
|
||||||
```
|
</Tabs>
|
||||||
Add Infisical apt repo
|
|
||||||
$ echo "deb [trusted=yes] https://apt.fury.io/infisical/ /" | tee -a /etc/apt/sources.list.d/infisical.list
|
|
||||||
|
|
||||||
Add prerequisites
|
|
||||||
$ apt update && apt -y curl ca-certificates sudo
|
|
||||||
|
|
||||||
Install infisical cli
|
|
||||||
$ sudo apt update && apt install infisical
|
|
||||||
|
|
||||||
To make sure the CLI has been installed, you may run this command.
|
|
||||||
$ infisical --version
|
|
||||||
```
|
|
||||||
</Accordion>
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Once you have the CLI installed in your system, follow the guide to login and sync your first project.
|
Once you have the CLI installed in your system, follow the guide to login and sync your first project.
|
||||||
|
|||||||
Reference in New Issue
Block a user