Skip to main content
Action required for Linux users. The Infisical CLI Linux package repository has moved from Cloudsmith to artifacts-cli.infisical.com. The Cloudsmith repository stops serving on September 16, 2026. Machines still pointed at the old URL will fail to install or update. See the migration guide for step-by-step instructions.
The Infisical CLI is a 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

Install the CLI with the package manager for your operating system.
When you install the CLI in a production environment, pin it to a specific version so that the version stays the same across reinstalls. View versions

Update the CLI

On Linux, update the CLI with the package manager you installed it with.

Quick usage guide

Now that you have the CLI installed on your system, follow this guide to make the best use of it