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.

Quick Install

Linux / macOS

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

Windows (PowerShell)

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

npm (Node.js)

If you have Node.js installed:

bash
npm install -g @controlinfra/cli

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 or:

bash
npm update -g @controlinfra/cli

Uninstalling

npm

bash
npm uninstall -g @controlinfra/cli

Manual (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

AI-powered infrastructure drift detection