CLI Reference
See API Reference →Quick Start
1
Install
npm install -g @nxtg/faultline2
Set a provider key
Free Gemini key: https://aistudio.google.com/apikey
export GEMINI_API_KEY="your-key"3
Scan
faultline scan --input doc.txt --provider gemini=== FAULTLINE COMPLIANCE REPORT === Provider: Google Gemini Overall Risk: --
Or run the demo (no API key required):
faultline scan --demoEnvironment
API and MCP access need an API key, and keys are issued by hand during alpha. Request one at https://nxtg.ai/contact?ref=faultline-api-key and a reply comes within one business day.
GEMINI_API_KEYoptionalAPI key for Gemini provider (free: https://aistudio.google.com/apikey)
export GEMINI_API_KEY="your-key"ANTHROPIC_API_KEYoptionalAPI key for Claude provider
export ANTHROPIC_API_KEY="your-key"OPENAI_API_KEYoptionalAPI key for OpenAI provider
export OPENAI_API_KEY="your-key"PERPLEXITY_API_KEYoptionalAPI key for Perplexity provider
export PERPLEXITY_API_KEY="your-key"FAULTLINE_PROVIDERoptionalDefault provider (gemini|claude|openai|perplexity)
export FAULTLINE_PROVIDER=geminiCommands
Scanning
Reporting
Configuration
Hosted API
API and MCP access need an API key, and keys are issued by hand during alpha. Request one at https://nxtg.ai/contact?ref=faultline-api-key and a reply comes within one business day.