1
Install
npm install -g @trigguard/cli
Global install. Requires Node.js 18+.
TRIGGUARD CLI
The fastest way to experience TrigGuard. Install @trigguard/cli v0.1.3, authenticate via device flow, authorize an execution, and verify the Ed25519-signed receipt - production verified.
Under 2 minutes from install to verified receipt.
npm install -g @trigguard/cli
Global install. Requires Node.js 18+.
tg login
Opens browser device auth at console.trigguardai.com. No manual API key paste.
tg authorize \ --surface deploy.release \ --actor demo \ --intent "test deployment"
Returns a binding decision and signed receipt:
{
"decision": "DENY",
"executionId": "exec_xxxxx",
"receipt": "signed"
}
tg verify --execution-id exec_xxxxx
Independent Ed25519 verification:
{
"verificationResult": "passed"
}
Every authorization produces a cryptographically signed receipt binding the decision, surface, actor, and policy context. Verify with tg verify or inspect in the receipt explorer.
NEXT STEPS