Skip to main content
You can do everything InfraAudit offers — connecting providers, triggering scans, reviewing findings, approving remediations — without leaving your terminal. This guide gets you from a fresh install to a completed drift scan in under five minutes. You’ll need your AWS credentials handy.

Install the CLI

Verify the install:

Point the CLI at your server

Log in

The CLI stores your session token in ~/.infraudit/config.yaml. Subsequent commands use it automatically — you won’t need to log in again until the token expires. To confirm who you’re logged in as:

Connect a cloud account

Wait for the initial sync to complete before running scans. Check the status with:
The provider is ready when STATUS shows synced.

Run a drift scan

View all findings:
Filter by severity to focus on the most important items first:
Inspect a specific finding:

What to do next

For the full list of commands and flags, see the CLI command reference or run: