init command creates and configures the Panguard environment on your machine. It generates the default configuration file, sets up data directories, and detects your operating system and installed services for optimal defaults.
Usage
Options
Path to a custom configuration file. If provided,
init will merge your custom settings with detected defaults instead of creating a new file from scratch.Set the default language for CLI output and notifications.
Examples
What init Does
- Detects the OS and environment — identifies Linux distro, macOS version, or WSL setup
- Creates configuration directory —
~/.panguard/with defaultconfig.yaml - Sets up data directories — separate directories for Guard, Trap, and Scan data
- Detects running services — identifies web servers, databases, and other services to tailor scan and guard defaults
- Validates authentication — confirms you are logged in or prompts you to run
panguard login
Plan Requirements
Available on all plans including Community (Free).