Skip to content

Installation

The Controlinfra CLI allows you to manage infrastructure drift detection from the command line. It's available for all major operating systems.

Open Source

The CLI is open source. View the source code, report issues, or contribute on GitHub: github.com/controlinfra/cli

Quick Install

Linux / macOS

bash
curl -fsSL https://controlinfra.com/cli/install.sh | bash

Windows (PowerShell)

powershell
iwr -useb https://controlinfra.com/cli/install.ps1 | iex

Windows (Git Bash)

bash
curl -fsSL https://controlinfra.com/cli/install.sh | bash

Supported Platforms

PlatformArchitectureBinary
Linux (Ubuntu, Debian, CentOS, RHEL, Amazon Linux)x64controlinfra-linux
LinuxARM64controlinfra-linux-arm64
macOSIntel (x64)controlinfra-macos
macOSApple Silicon (ARM64)controlinfra-macos-arm64
Windowsx64controlinfra-win.exe

Verify Installation

After installation, verify it works:

bash
controlinfra --version

You should see output like:

0.1.0

Updating

To update to the latest version, simply run the install command again.

Uninstalling

Linux/macOS

bash
sudo rm /usr/local/bin/controlinfra

Manual (Windows)

Remove the controlinfra.exe from %LOCALAPPDATA%\controlinfra\ and remove the directory from your PATH.

Next Steps