The official Infisical CLI: Inject secrets into applications and manage your Infisical infrastructure.
> [!IMPORTANT] > **The Infisical CLI Linux package repository is moving off Cloudsmith.** To keep up with download volume, we're migrating the Linux package repository to our own host at `artifacts-cli.infisical.com`. Cloudsmith downloads will stop being served on **September 16th, 2026**, after which installs and updates from the old URL will fail. > > Every release, including all older versions, is already available on the new host. If you're on an existing setup, you don't need to change anything else, just repoint your machine to the new artifact URL by following the [migration steps](https://infisical.com/docs/cli/cloudsmith-migration). ## Introduction The **[Infisical CLI](https://infisical.com/docs/cli/overview)** is a powerful command-line tool for secret management that allows you to: - **Inject secrets** into applications and development workflows - **Scan for secret leaks** in your codebase and git history - **Export secrets** to various formats (dotenv, JSON, YAML) - **Authenticate** with Infisical Cloud or self-hosted instances - **Integrate** with CI/CD pipelines and Docker containers ## Installation ### Package Managers **macOS** ```bash brew install infisical/get-cli/infisical ``` **Windows** ```bash # Scoop scoop install infisical # Winget winget install infisical ``` **NPM** ```bash npm install -g @infisical/cli ``` **Linux** _Ubuntu/Debian:_ ```bash curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | sudo -E bash sudo apt-get install -y infisical ``` _Alpine:_ ```bash wget -qO- 'https://artifacts-cli.infisical.com/setup.apk.sh' | sudo sh sudo apk add infisical ``` _RHEL/CentOS:_ ```bash curl -1sLf 'https://artifacts-cli.infisical.com/setup.rpm.sh' | sudo -E bash sudo yum install infisical ``` _Arch Linux:_ ```bash yay -S infisical-bin ``` ### Direct Download Download binaries from [GitHub Releases](https://github.com/Infisical/cli/releases). ## Documentation - **[CLI Overview](https://infisical.com/docs/cli/overview)** - Complete installation and setup guide - **[Usage Guide](https://infisical.com/docs/cli/usage)** - Detailed usage scenarios - **[Commands Reference](https://infisical.com/docs/cli/commands)** - All available commands - **[FAQ](https://infisical.com/docs/cli/faq)** - Common questions and troubleshooting ## Contributing We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details. ### Development Setup ```bash git clone https://github.com/Infisical/cli.git cd cli go build -o infisical . go test ./... ``` ## Support - **[Documentation](https://infisical.com/docs/cli/overview)** - Complete guides and reference - **[Slack Community](https://infisical.com/slack)** - Get help from the community - **[GitHub Issues](https://github.com/Infisical/cli/issues)** - Report bugs and request features ## License The Infisical CLI is available under the [MIT License](LICENSE). ## Security Please do not file GitHub issues for security vulnerabilities. Instead, contact us at security@infisical.com. ---Made with ❤️ by the Infisical team