Skip to main content

Tutorials

Step-by-step guides for every major Anvil feature. Each tutorial is self-contained -- you can follow any of them independently.

Getting Started

TutorialDescription
QuickstartInstall, scan, and fix your first issue in under 5 minutes
First ProjectSet up Anvil with architecture boundaries in an existing codebase

Feature Tutorials

TutorialDescription
Custom PoliciesWrite OPA/Rego rules to enforce your team's standards
Architecture BoundariesDefine layers, choose a template, and enforce module boundaries
Drift DetectionCapture snapshots and track architectural drift over time
CI IntegrationAdd Anvil to GitHub Actions, GitLab CI, and git hooks
SuppressionsSuppress warnings for legacy code and intentional decisions

Prefer a guided walk-through in your terminal? Run anvil tutorial for

an interactive version of these guides. :::