Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions docs/cli/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ You can use it across various environments, whether it's local development, CI/C

## Installation

<Warning>
As of 04/08/25, all future releases for Debian/Ubuntu will be distributed via the official Infisical repository at https://artifacts-cli.infisical.com.
No new releases will be published for Debian/Ubuntu on Cloudsmith going forward.
</Warning>

<Tabs>
<Tab title="MacOS">
Use [brew](https://brew.sh/) package manager
Expand Down Expand Up @@ -72,14 +67,12 @@ You can use it across various environments, whether it's local development, CI/C
<Tab title="Alpine">
Install prerequisite
```bash
apk add --no-cache bash sudo
apk add --no-cache bash sudo wget
```

Add Infisical repository
```bash
curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \
| bash
wget -qO- 'https://artifacts-cli.infisical.com/setup.apk.sh' | sudo sh
```

Then install CLI
Expand All @@ -88,14 +81,14 @@ You can use it across various environments, whether it's local development, CI/C
```
###
<Tip>
If you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://cloudsmith.io/~infisical/repos/infisical-cli/packages/)
If you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://github.com/Infisical/cli/releases)
</Tip>
</Tab>
<Tab title="RedHat/CentOs/Amazon">
Add Infisical repository
```bash
curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' \
'https://artifacts-cli.infisical.com/setup.rpm.sh' \
| sudo -E bash
```

Expand All @@ -105,7 +98,7 @@ You can use it across various environments, whether it's local development, CI/C
```
###
<Tip>
If you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://cloudsmith.io/~infisical/repos/infisical-cli/packages/)
If you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://github.com/Infisical/cli/releases)
</Tip>
</Tab>
<Tab title="Debian/Ubuntu">
Expand All @@ -124,7 +117,7 @@ You can use it across various environments, whether it's local development, CI/C
```
###
<Tip>
If you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://cloudsmith.io/~infisical/repos/infisical-cli/packages/)
If you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://github.com/Infisical/cli/releases)
</Tip>
</Tab>
<Tab title="Arch Linux">
Expand All @@ -136,7 +129,7 @@ You can use it across various environments, whether it's local development, CI/C

###
<Tip>
If you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://cloudsmith.io/~infisical/repos/infisical-cli/packages/)
If you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://github.com/Infisical/cli/releases)
</Tip>
</Tab>
</Tabs>
Expand Down
10 changes: 4 additions & 6 deletions docs/documentation/getting-started/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ Follow the instructions for your operating system to install the Infisical CLI.
<Tab title="Alpine">
Install prerequisite
```console
$ apk add --no-cache bash sudo
$ apk add --no-cache bash sudo wget
```

Add Infisical repository
```console
$ curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \
| bash
$ wget -qO- 'https://artifacts-cli.infisical.com/setup.apk.sh' | sudo sh
```

Then install CLI
Expand All @@ -56,7 +54,7 @@ Follow the instructions for your operating system to install the Infisical CLI.
Add Infisical repository
```console
$ curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' \
'https://artifacts-cli.infisical.com/setup.rpm.sh' \
| sudo -E bash
```

Expand All @@ -71,7 +69,7 @@ Follow the instructions for your operating system to install the Infisical CLI.

```console
$ curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' \
'https://artifacts-cli.infisical.com/setup.deb.sh' \
| sudo -E bash
```

Expand Down
24 changes: 12 additions & 12 deletions docs/documentation/getting-started/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ Prerequisites:
<Tabs>
<Tab title="Alpine">
```dockerfile
RUN apk add --no-cache bash curl && curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \
RUN apk add --no-cache bash sudo wget && wget -qO- \
'https://artifacts-cli.infisical.com/setup.apk.sh' | sh \
&& apk add infisical
```

</Tab>
<Tab title="RedHat/CentOs/Amazon-linux">
```dockerfile
RUN curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sh \
'https://artifacts-cli.infisical.com/setup.rpm.sh' | sh \
&& yum install -y infisical
```
</Tab>
<Tab title="Debian/Ubuntu">
```dockerfile
RUN apt-get update && apt-get install -y bash curl && curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash \
'https://artifacts-cli.infisical.com/setup.deb.sh' | bash \
&& apt-get update && apt-get install -y infisical
```
</Tab>
Expand Down Expand Up @@ -65,8 +65,8 @@ Prerequisites:
FROM alpine

# Add the Infisical CLI to your Dockerfile (choose the appropriate block based on your base image)
RUN apk add --no-cache bash curl && curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \
RUN apk add --no-cache bash sudo wget && wget -qO- \
'https://artifacts-cli.infisical.com/setup.apk.sh' | sh \
&& apk add infisical

# Install any additional dependencies or packages your service requires
Expand All @@ -92,23 +92,23 @@ Prerequisites:
<Tabs>
<Tab title="Alpine">
```dockerfile
RUN apk add --no-cache bash curl && curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \
RUN apk add --no-cache bash sudo wget && wget -qO- \
'https://artifacts-cli.infisical.com/setup.apk.sh' | sh \
&& apk add infisical
```

</Tab>
<Tab title="RedHat/CentOs/Amazon-linux">
```dockerfile
RUN curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sh \
'https://artifacts-cli.infisical.com/setup.rpm.sh' | sh \
&& yum install -y infisical
```
</Tab>
<Tab title="Debian/Ubuntu">
```dockerfile
RUN apt-get update && apt-get install -y bash curl && curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash \
'https://artifacts-cli.infisical.com/setup.deb.sh' | bash \
&& apt-get update && apt-get install -y infisical
```
</Tab>
Expand All @@ -127,8 +127,8 @@ Prerequisites:
FROM alpine

# Add the Infisical CLI to your Dockerfile (choose the appropriate block based on your base image)
RUN apk add --no-cache bash curl && curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \
RUN apk add --no-cache bash sudo wget && wget -qO- \
'https://artifacts-cli.infisical.com/setup.apk.sh' | sh \
&& apk add infisical

# Install any additional dependencies or packages your service requires
Expand Down
10 changes: 4 additions & 6 deletions docs/documentation/guides/nextjs-vercel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,12 @@ Follow the instructions for your operating system to install the Infisical CLI.
<Tab title="Alpine">
Install prerequisite
```console
$ apk add --no-cache bash sudo
$ apk add --no-cache bash sudo wget
```

Add Infisical repository
```console
$ curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \
| bash
$ wget -qO- 'https://artifacts-cli.infisical.com/setup.apk.sh' | sudo sh
```

Then install CLI
Expand All @@ -116,7 +114,7 @@ Follow the instructions for your operating system to install the Infisical CLI.
Add Infisical repository
```console
$ curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' \
'https://artifacts-cli.infisical.com/setup.rpm.sh' \
| sudo -E bash
```

Expand All @@ -131,7 +129,7 @@ Follow the instructions for your operating system to install the Infisical CLI.

```console
$ curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' \
'https://artifacts-cli.infisical.com/setup.deb.sh' \
| sudo -E bash
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ In the following steps, we explore how to create and use identities to access th
aud: infisical-aud-test
script:
- apt update && apt install -y curl
- curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash
- curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | bash
- apt-get update && apt-get install -y infisical
- export INFISICAL_TOKEN=$(infisical login --method=oidc-auth --machine-identity-id=4e807a78-1b1c-4bd6-9609-ef2b0cf4fd54 --oidc-jwt=$INFISICAL_ID_TOKEN --silent --plain)
- infisical run --projectId=1d0443c1-cd43-4b3a-91a3-9d5f81254a89 --env=dev -- npm run build
Expand Down
4 changes: 2 additions & 2 deletions docs/integrations/cicd/aws-amplify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This approach enables you to fetch secrets from Infisical during Amplify build t
phases:
preBuild:
commands:
- sudo curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sudo -E bash
- sudo curl -1sLf 'https://artifacts-cli.infisical.com/setup.rpm.sh' | sudo -E bash
- sudo yum -y install infisical
```
</Step>
Expand Down Expand Up @@ -82,7 +82,7 @@ This approach enables you to fetch secrets from Infisical during Amplify build t
phases:
preBuild:
commands:
- sudo curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sudo -E bash
- sudo curl -1sLf 'https://artifacts-cli.infisical.com/setup.rpm.sh' | sudo -E bash
- sudo yum -y install infisical
```
</Step>
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/cicd/bitbucket.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Prerequisites:
name: Build application with secrets from Infisical
script:
- apt update && apt install -y curl
- curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash
- curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | bash
- apt-get update && apt-get install -y infisical
- export INFISICAL_TOKEN=$(infisical login --method=universal-auth --client-id=$INFISICAL_CLIENT_ID --client-secret=$INFISICAL_CLIENT_SECRET --silent --plain)
- infisical run --projectId=1d0443c1-cd43-4b3a-91a3-9d5f81254a89 --env=dev -- npm run build
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/cicd/gitlab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ description: "How to sync secrets from Infisical to GitLab"
stage: build
script:
- apt update && apt install -y curl
- curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash
- curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | bash
- apt-get update && apt-get install -y infisical
- infisical run -- npm run build
```
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/platforms/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To install the CLI, follow the instructions for your chosen distribution [here](

####
<Tip>
We recommend you to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://cloudsmith.io/~infisical/repos/infisical-cli/packages/)
We recommend you to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. [View versions](https://github.com/Infisical/cli/releases)
</Tip>

## Modify the start command in your Dockerfile
Expand Down
Loading