Command line

Prerequisite: Set up an account with Infisical Cloud or via a self-hosted installation.

The Infisical CLI provides a way to inject environment variables from the platform into your apps and infrastructure.


  • MacOS

  • Windows

  • Alpine

  • RedHat/CentOs/Amazon

  • Debian/Ubuntu

  • Arch Linux

Use brew package manager

brew install infisical/get-cli/infisical


brew update && brew upgrade infisical

Log in to the Infisical CLI

infisical login