Documentation Index
Fetch the complete documentation index at: https://infisical-daniel-remove-api-key-auth-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The Infisical CLI is powerful command line tool that can be used to retrieve, modify, export and inject secrets into any process or application as environment variables.
You can use it across various environments, whether it’s local development, CI/CD, staging, or production.
Installation
MacOS
Windows
Alpine
RedHat/CentOs/Amazon
Debian/Ubuntu
Arch Linux
Use brew package managerbrew install infisical/get-cli/infisical
Updates
brew update && brew upgrade infisical
Use Scoop package managerscoop bucket add org https://github.com/Infisical/scoop-infisical.git
Updates
Install prerequisiteapk add --no-cache bash sudo
Add Infisical repositorycurl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \
| bash
Then install CLIapk update && sudo apk add infisical
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 Add Infisical repositorycurl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' \
| sudo -E bash
Then install CLIsudo yum install infisical
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 Add Infisical repositorycurl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' \
| sudo -E bash
Then install CLIsudo apt-get update && sudo apt-get install -y infisical
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 Use the yay package manager to install from the Arch User RepositoryIf 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
Quick Usage Guide
Now that you have the CLI installed on your system, follow this guide to make the best use of it