mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
update cli install to remove $ from commands
This commit is contained in:
+12
-17
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: "Install"
|
title: 'Install'
|
||||||
---
|
---
|
||||||
|
|
||||||
Prerequisite: Set up an account with [Infisical Cloud](https://app.infisical.com) or via a [self-hosted installation](/self-hosting/overview).
|
Prerequisite: Set up an account with [Infisical Cloud](https://app.infisical.com) or via a [self-hosted installation](/self-hosting/overview).
|
||||||
@@ -13,11 +13,7 @@ The Infisical CLI provides a way to inject environment variables from the platfo
|
|||||||
Use [brew](https://brew.sh/) package manager
|
Use [brew](https://brew.sh/) package manager
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# install
|
|
||||||
brew install infisical/get-cli/infisical
|
brew install infisical/get-cli/infisical
|
||||||
|
|
||||||
# check version
|
|
||||||
infisical --version
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Updates
|
## Updates
|
||||||
@@ -31,14 +27,13 @@ The Infisical CLI provides a way to inject environment variables from the platfo
|
|||||||
Use [Scoop](https://scoop.sh/) package manager
|
Use [Scoop](https://scoop.sh/) package manager
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# install
|
|
||||||
scoop bucket add org https://github.com/Infisical/scoop-infisical.git
|
scoop bucket add org https://github.com/Infisical/scoop-infisical.git
|
||||||
scoop install infisical
|
|
||||||
|
|
||||||
# check version
|
|
||||||
infisical --version
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
scoop install infisical
|
||||||
|
```
|
||||||
|
|
||||||
## Updates
|
## Updates
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -49,33 +44,33 @@ The Infisical CLI provides a way to inject environment variables from the platfo
|
|||||||
<Tab title="Alpine">
|
<Tab title="Alpine">
|
||||||
Install prerequisite
|
Install prerequisite
|
||||||
```bash
|
```bash
|
||||||
$ sudo apk add --no-cache bash sudo
|
sudo apk add --no-cache bash sudo
|
||||||
```
|
```
|
||||||
|
|
||||||
Add Infisical repository
|
Add Infisical repository
|
||||||
```bash
|
```bash
|
||||||
$ curl -1sLf \
|
curl -1sLf \
|
||||||
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \
|
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \
|
||||||
| sudo -E bash
|
| sudo -E bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Then install CLI
|
Then install CLI
|
||||||
```bash
|
```bash
|
||||||
$ sudo apk update && sudo apk add infisical
|
sudo apk update && sudo apk add infisical
|
||||||
```
|
```
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab title="RedHat/CentOs/Amazon">
|
<Tab title="RedHat/CentOs/Amazon">
|
||||||
Add Infisical repository
|
Add Infisical repository
|
||||||
```bash
|
```bash
|
||||||
$ curl -1sLf \
|
curl -1sLf \
|
||||||
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' \
|
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' \
|
||||||
| sudo -E bash
|
| sudo -E bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Then install CLI
|
Then install CLI
|
||||||
```bash
|
```bash
|
||||||
$ sudo yum install infisical
|
sudo yum install infisical
|
||||||
```
|
```
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
@@ -83,14 +78,14 @@ The Infisical CLI provides a way to inject environment variables from the platfo
|
|||||||
Add Infisical repository
|
Add Infisical repository
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -1sLf \
|
curl -1sLf \
|
||||||
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' \
|
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' \
|
||||||
| sudo -E bash
|
| sudo -E bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Then install CLI
|
Then install CLI
|
||||||
```bash
|
```bash
|
||||||
$ sudo apt-get update && sudo apt-get install -y infisical
|
sudo apt-get update && sudo apt-get install -y infisical
|
||||||
```
|
```
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
|
|||||||
Reference in New Issue
Block a user