The official Infisical CLI: Inject secrets into applications and manage your Infisical infrastructure.
The Infisical CLI 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
macOS
brew install infisical/get-cli/infisical
Windows
# Scoop
scoop install infisical
# Winget
winget install infisical
NPM
npm install -g @infisical/cli
Linux
Ubuntu/Debian:
curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | sudo -E bash
sudo apt-get install -y infisical
Alpine:
curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash
sudo apk add infisical
RHEL/CentOS:
curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sudo -E bash
sudo yum install infisical
Arch Linux:
yay -S infisical-bin
Download binaries from GitHub Releases.
- CLI Overview - Complete installation and setup guide
- Usage Guide - Detailed usage scenarios
- Commands Reference - All available commands
- FAQ - Common questions and troubleshooting
We welcome contributions! Please see our Contributing Guide for details.
git clone https://github.com/Infisical/cli.git
cd cli
go build -o infisical .
go test ./...
- Documentation - Complete guides and reference
- Slack Community - Get help from the community
- GitHub Issues - Report bugs and request features
The Infisical CLI is available under the MIT License.
Please do not file GitHub issues for security vulnerabilities. Instead, contact us at [email protected].
Made with ❤️ by the Infisical team