Installation
The Controlinfra CLI allows you to manage infrastructure drift detection from the command line. It's available for all major operating systems.
Quick Install
Linux / macOS
bash
curl -fsSL https://controlinfra.com/install.sh | bashWindows (PowerShell)
powershell
iwr -useb https://controlinfra.com/install.ps1 | iexnpm (Node.js)
If you have Node.js installed:
bash
npm install -g @controlinfra/cliSupported Platforms
| Platform | Architecture | Binary |
|---|---|---|
| Linux (Ubuntu, Debian, CentOS, RHEL, Amazon Linux) | x64 | controlinfra-linux |
| Linux | ARM64 | controlinfra-linux-arm64 |
| macOS | Intel (x64) | controlinfra-macos |
| macOS | Apple Silicon (ARM64) | controlinfra-macos-arm64 |
| Windows | x64 | controlinfra-win.exe |
Verify Installation
After installation, verify it works:
bash
controlinfra --versionYou should see output like:
0.1.0Updating
To update to the latest version, simply run the install command again or:
bash
npm update -g @controlinfra/cliUninstalling
npm
bash
npm uninstall -g @controlinfra/cliManual (Linux/macOS)
bash
sudo rm /usr/local/bin/controlinfraManual (Windows)
Remove the controlinfra.exe from %LOCALAPPDATA%\controlinfra\ and remove the directory from your PATH.
Next Steps
- Authentication - Log in to your account
- Quick Reference - Common commands