--- title: 'Install' description: "Infisical's CLI is one of the best way to manage environments and secrets. Install it here" --- The Infisical CLI can be used to access secrets across various environments, whether it's local development, CI/CD, staging, or production. ## Installation Use [brew](https://brew.sh/) package manager ```bash brew install infisical/get-cli/infisical ``` ### Updates ```bash brew update && brew upgrade infisical ``` Use [Scoop](https://scoop.sh/) package manager ```bash scoop bucket add org https://github.com/Infisical/scoop-infisical.git ``` ```bash scoop install infisical ``` ### Updates ```bash scoop update infisical ``` Install prerequisite ```bash apk add --no-cache bash sudo ``` Add Infisical repository ```bash curl -1sLf \ 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' \ | bash ``` Then install CLI ```bash apk update && sudo apk add infisical ``` Add Infisical repository ```bash curl -1sLf \ 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' \ | sudo -E bash ``` Then install CLI ```bash sudo yum install infisical ``` Add Infisical repository ```bash curl -1sLf \ 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' \ | sudo -E bash ``` Then install CLI ```bash sudo apt-get update && sudo apt-get install -y infisical ``` Use the `yay` package manager to install from the [Arch User Repository](https://aur.archlinux.org/packages/infisical-bin) ```bash yay -S infisical-bin ```