Complete installation instructions for AuditKit
Complete installation instructions for AuditKit.
Operating Systems: - Linux (any modern distribution) - macOS (10.15 Catalina or newer) - Windows (10/11 or Server 2016+)
Requirements: - Go 1.24 or newer (for building from source) - Cloud CLI tools (AWS CLI, Azure CLI, or gcloud CLI) - Read-only cloud credentials - Internet connection (for downloading and scanning)
Disk Space: - Universal binary (all clouds): ~64 MB download, ~325 MB installed - Source code: ~50 MB - Scan results: ~1-10 MB per scan
Fastest and easiest method
# Download and extract
curl -LO https://github.com/guardian-nexus/AuditKit-Community-Edition/releases/latest/download/auditkit-linux-amd64.tar.gz
tar -xzf auditkit-linux-amd64.tar.gz
# Move to PATH
sudo mv auditkit-linux-amd64 /usr/local/bin/auditkit
sudo chmod +x /usr/local/bin/auditkit
# Verify installation
auditkit version
For AWS Graviton, Raspberry Pi, and Linux VMs on Apple Silicon Macs.
# Download and extract
curl -LO https://github.com/guardian-nexus/AuditKit-Community-Edition/releases/latest/download/auditkit-linux-arm64.tar.gz
tar -xzf auditkit-linux-arm64.tar.gz
# Move to PATH
sudo mv auditkit-linux-arm64 /usr/local/bin/auditkit
sudo chmod +x /usr/local/bin/auditkit
# Verify installation
auditkit version
# Download and extract
curl -LO https://github.com/guardian-nexus/AuditKit-Community-Edition/releases/latest/download/auditkit-darwin-arm64.tar.gz
tar -xzf auditkit-darwin-arm64.tar.gz
# Move to PATH
sudo mv auditkit-darwin-arm64 /usr/local/bin/auditkit
sudo chmod +x /usr/local/bin/auditkit
# The binary is unsigned. If macOS blocks it on first run:
# System Settings -> Privacy and Security -> Open Anyway
# Verify installation
auditkit version
# Download and extract
curl -LO https://github.com/guardian-nexus/AuditKit-Community-Edition/releases/latest/download/auditkit-darwin-amd64.tar.gz
tar -xzf auditkit-darwin-amd64.tar.gz
# Move to PATH
sudo mv auditkit-darwin-amd64 /usr/local/bin/auditkit
sudo chmod +x /usr/local/bin/auditkit
# Verify installation
auditkit version
# Download and extract
curl.exe -LO https://github.com/guardian-nexus/AuditKit-Community-Edition/releases/latest/download/auditkit-windows-amd64.zip
Expand-Archive -Path auditkit-windows-amd64.zip -DestinationPath .
# Rename to auditkit.exe
Rename-Item auditkit-windows-amd64.exe auditkit.exe
# Add to PATH or run from current directory
.\auditkit.exe version
For developers or custom builds
# Install Go 1.24 or newer
# Download from: https://go.dev/dl/
# Verify Go installation
go version # Should show 1.24 or higher
# Clone repository
git clone https://github.com/guardian-nexus/AuditKit-Community-Edition
cd AuditKit-Community-Edition/scanner
# Build binary
go build ./cmd/auditkit
# Binary is now at: ./auditkit
# Optional: Move to PATH
sudo mv auditkit /usr/local/bin/
# Verify installation
auditkit version
# Linux (amd64)
GOOS=linux GOARCH=amd64 go build -o auditkit-linux ./cmd/auditkit
# macOS (amd64)
GOOS=darwin GOARCH=amd64 go build -o auditkit-macos ./cmd/auditkit
# macOS (arm64 - M1/M2)
GOOS=darwin GOARCH=arm64 go build -o auditkit-macos-arm64 ./cmd/auditkit
# Windows (amd64)
GOOS=windows GOARCH=amd64 go build -o auditkit.exe ./cmd/auditkit
For Go users
# Install directly from GitHub
go install github.com/guardian-nexus/AuditKit-Community-Edition/scanner/cmd/auditkit@latest
# Binary installed to: $GOPATH/bin/auditkit
# Add GOPATH/bin to PATH if needed
export PATH=$PATH:$(go env GOPATH)/bin
# Verify installation
auditkit version
AuditKit requires cloud CLI tools for authentication.
Linux/macOS:
# Option 1: Using package manager
# macOS
brew install awscli
# Ubuntu/Debian
sudo apt-get install awscli
# Option 2: Using pip
pip3 install awscli
# Verify installation
aws --version
Windows:
# Download installer from:
# https://aws.amazon.com/cli/
# Or using Chocolatey
choco install awscli
# Verify installation
aws --version
Linux/macOS:
# macOS
brew install azure-cli
# Ubuntu/Debian
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
# Verify installation
az --version
Windows:
# Download installer from:
# https://docs.microsoft.com/cli/azure/install-azure-cli-windows
# Or using Chocolatey
choco install azure-cli
# Verify installation
az --version
Linux/macOS:
# macOS
brew install google-cloud-sdk
# Linux - using snap
sudo snap install google-cloud-cli --classic
# Or download from:
# https://cloud.google.com/sdk/docs/install
# Verify installation
gcloud --version
Windows:
# Download installer from:
# https://cloud.google.com/sdk/docs/install
# Or using Chocolatey
choco install gcloudsdk
# Verify installation
gcloud --version
auditkit version
Expected output:
AuditKit v1.0.0 - Multi-cloud compliance scanning (AWS, Azure, GCP; M365 via ScubaGear import)
# AWS
aws --version
# Azure
az --version
# GCP
gcloud --version
# Test AWS (requires configured credentials)
auditkit scan -provider aws -framework soc2
# Test Azure (requires login)
auditkit scan -provider azure -framework soc2
# Test GCP (requires auth)
auditkit scan -provider gcp -framework soc2
AWS:
aws configure
# Enter: Access Key ID, Secret Access Key, Region
Azure:
az login
export AZURE_SUBSCRIPTION_ID="your-subscription-id"
GCP:
gcloud auth application-default login
export GOOGLE_CLOUD_PROJECT=your-project-id
auditkit update
# Download new version
curl -LO https://github.com/guardian-nexus/AuditKit-Community-Edition/releases/latest/download/auditkit-linux-amd64.tar.gz
# Replace old binary
chmod +x auditkit-linux-amd64
sudo mv auditkit-linux-amd64 /usr/local/bin/auditkit
# Verify new version
auditkit version
cd AuditKit-Community-Edition
git pull origin main
cd scanner
go build ./cmd/auditkit
sudo mv auditkit /usr/local/bin/
go install github.com/guardian-nexus/AuditKit-Community-Edition/scanner/cmd/auditkit@latest
Cause: Binary not in PATH
Solution:
# Find where binary is located
which auditkit
# If not found, add to PATH
export PATH=$PATH:/path/to/auditkit/directory
# Or move to standard location
sudo mv auditkit /usr/local/bin/
Cause: Binary not executable
Solution:
chmod +x auditkit
Cause: macOS Gatekeeper security
Solution:
# Remove quarantine attribute
xattr -d com.apple.quarantine auditkit
# Or: System Preferences > Security & Privacy > Allow
Cause: Go version too old or dependencies missing
Solution:
# Update Go to 1.24 or newer
go version
# Clean build cache
go clean -cache -modcache
# Rebuild
go build ./cmd/auditkit
Cause: Cloud CLI not installed or not configured
Solution:
# Install cloud CLI tools (see above)
# Configure credentials (see setup guides)
# Test cloud CLI directly
aws sts get-caller-identity # AWS
az account show # Azure
gcloud projects list # GCP
# Find installation location
which auditkit
# Remove binary
sudo rm /usr/local/bin/auditkit
# Remove cloned repository
rm -rf ~/auditkit
# Remove Go binary (if installed via go install)
rm $(go env GOPATH)/bin/auditkit
# Remove scan history (if you want to)
rm -rf ~/.auditkit/
For environments without internet access:
AuditKit can scan on a connected machine and report on a disconnected one. Every scan is cached under ~/.auditkit/cache; auditkit cache lists what is stored, and auditkit scan -offline (optionally -cache-file <path>) rebuilds a report with no cloud API calls.
curl -LO https://github.com/guardian-nexus/AuditKit-Community-Edition/releases/latest/download/auditkit-linux-amd64.tar.gz
Transfer to air-gapped machine via USB/secure transfer
Install normally:
chmod +x auditkit-linux-amd64
sudo mv auditkit-linux-amd64 /usr/local/bin/auditkit
Note: Cloud CLI tools must also be installed offline
System-wide installation:
# Install to /usr/local/bin (all users can access)
sudo cp auditkit /usr/local/bin/
sudo chmod 755 /usr/local/bin/auditkit
# Verify all users can run
su - otheruser -c "auditkit version"
# Install to custom location
mkdir -p ~/tools
cp auditkit ~/tools/
# Add to PATH in shell profile
echo 'export PATH=$PATH:$HOME/tools' >> ~/.bashrc
source ~/.bashrc
# Verify
auditkit version
For AuditKit customers:
.lic license file via email# Install Pro binary (note: different binary name)
chmod +x auditkit-pro
sudo mv auditkit-pro /usr/local/bin/auditkit-pro
# Save license file (received after purchase/trial signup)
mkdir -p ~/.auditkit-pro
cp ~/Downloads/license.lic ~/.auditkit-pro/license.lic
# Activation is automatic on first run — no separate command needed
auditkit-pro version # Shows "Pro" edition
# Run Pro scans
auditkit-pro scan -provider aws -framework cmmc
Note: Pro version uses auditkit-pro command, not auditkit