CLI Guide
Workflow learning, first-run setup, and operator sequence.
Open CLI GuideCLI GUIDE
Operator-first guide for running AuditWalk on Linux, Windows, and macOS from first scan through advisory review. Use this page for sequence and intent; use the CLI Reference for exact syntax details.
AuditWalk helps you establish a trusted baseline, detect system drift, and interpret findings without mutating system state by default.
scan collects evidence.baseline confirm <scan_id> creates a trusted anchor from the scan.preflight performs fast verification.compare computes baseline-relative drift.doctor run interprets findings into advisory next steps (paid).Use platform-native terminals and paths:
~/.auditwalk.$env:USERPROFILE\.auditwalk.~/.auditwalk.Linux is the primary CLI operating surface. Run the guided first-run path, then continue with baseline and drift workflow commands.
# Linux (bash/zsh)
auditwalk init
auditwalk scan run --profile full
auditwalk baseline confirm <scan_id>
auditwalk preflight run
auditwalk compare run --format json --out compare.json
auditwalk doctor run --format json --out doctor.json
--profile full for a complete baseline capture during initial setup.auditwalk baseline show before automated workflows.On Windows, use PowerShell and keep output paths explicit so reports and compare artifacts are easy to archive and review.
# Windows (PowerShell)
auditwalk init
auditwalk scan run --profile full
auditwalk baseline confirm <scan_id>
auditwalk preflight run
auditwalk compare run --format json --out .\compare.json
auditwalk doctor run --format json --out .\doctor.json
$env:USERPROFILE-based paths.On macOS, run AuditWalk from Terminal using zsh and keep baseline, compare, and advisory runs aligned with your regular operator cadence.
# macOS (zsh)
auditwalk init
auditwalk scan run --profile full
auditwalk baseline confirm <scan_id>
auditwalk preflight run
auditwalk compare run --format json --out compare.json
auditwalk doctor run --format json --out doctor.json
auditwalk baseline show before running repeated compare cycles.There are two valid first-run paths. Use only one to avoid duplicate setup:
auditwalk init for guided first-run setup.scan run then baseline confirm <scan_id> for manual control.Run this sequence for the standard operator path:
auditwalk scan run --profile full
auditwalk baseline confirm <scan_id>
auditwalk preflight run
auditwalk compare run --format json
auditwalk doctor run --format json
scan run captures current state as evidence.baseline confirm <scan_id> creates the trusted anchor.preflight run gives a quick confidence pass.compare run returns factual drift.doctor run adds advisory interpretation (paid).First-run success checkpoint:
auditwalk baseline show
compare first for factual drift details.doctor run second for advisory triage and next steps (paid).compare as source of factual state differences.doctor run as advisory interpretation, not execution.policy_suppressed), keep original vs effective severity distinctions intact.watch automates repeated compare cycles at a fixed interval. Manual workflow remains valid at all times.
Manual equivalent:
auditwalk compare run
auditwalk doctor run
Continuous monitoring (Pro):
auditwalk watch run --interval 300
Use manual workflow for explicit periodic checks. Use watch for interval-based continuous detection and event output.
baseline confirm. compare and preflight depend on a confirmed baseline.--format json when you need machine-readable output and audit trails.doctor run when licensed.