Skip to main content
The infraudit CLI is a single static Go binary with no runtime dependencies. You can build it from source or pull it directly with go install if you already have a Go toolchain.

Prerequisites

Installation

Pull and build the latest CLI in one step:
The binary lands in $GOPATH/bin/ (typically $HOME/go/bin/). Make sure that directory is in your PATH:

Verify the installation

Run the following command to confirm the binary is available:
You should see the top-level command list. If you get command not found, the install directory is not in your PATH. Fix it using the instructions in the tab above that matches your installation method.
The version subcommand is available as infraudit version to print the exact build version once a server connection is configured.

First-time setup

1

Initialize the config file

Run the interactive setup wizard to set your server URL and default output format:
2

Log in

Authenticate with your InfraAudit account:
3

Verify connectivity

Check that the CLI can reach the server:

Shell completion

Tab completion is available for bash, zsh, fish, and PowerShell. See Shell completion for setup instructions.

Uninstall

Remove the binary and config directory: