For every developer on your organisation
Astriguard CLI shifts compliance left: from a post-merge administrative burden to a terminal workflow that helps your whole team catch risky code before it leaves the machine.
Up and running in under two minutes
Install from npm and sign in
Install the published package, connect your GitHub identity, and optionally add the pre-push hook to the current repository.
Scan changed files or one file
Inspect staged changes before pushing, or scan a specific file with the frameworks you care about while you are iterating.
Fix terminal diagnostics
Astriguard verifies repository access, runs the configured compliance scan, and returns focused diagnostics with file, severity, framework, and remediation context.
From staged diff to actionable findings
See how a local scan turns changed files into focused compliance diagnostics before code review.
Local speed. Cloud intelligence.
The CLI collects local git context, sends it through authenticated Astriguard APIs, and returns the same framework-aware analysis your team uses in cloud scans.
staged diffsingle filepre-push hookrepo remoteSOC 2HIPAAGDPREU AI ActReactive compliance vs proactive compliance
| Aspect | Without Astriguard CLI | With Astriguard CLI |
|---|---|---|
| When violations are found | xPR review comments, after code is pushed | vIn the terminal before push or while scanning a file |
| How the scan runs | xRemote-only scans after a branch is already opened | vRun pre-push or single-file scans from the repo |
| File scope | xEntire PR context, even when you only need to check a small change | vStaged changed files or one explicit file path |
| Developer feedback | xDashboard or PR comments required to understand findings | vStructured terminal output with severity, rule context, and fix guidance |
| Compliance rule source | xSeparate CI config, drift possible | vPulled from Astriguard dashboard and tied to verified repository access |
Install Astriguard CLI today
The CLI package is live on npm. Install it globally, sign in, and start scanning changed files from the same repositories connected to Astriguard.
npm install -g @astriguard/cliThen run astria-cli login and astria-cli scan --pre-push.