Getting Started

Go from zero to a full audit in under a minute.

Installation

Install the Nerviq CLI globally via npm:

Requires Node.js 18+. Also available via npx @nerviq/cli for one-off use.

Run your first audit

Navigate to any project directory and run:

terminal

$ nerviq audit

nerviq v1.0.0 — auditing project...

Detected: Next.js + TypeScript + Claude

Platform: Claude Code

Score: 91/100 (A)

Nerviq auto-detects your platforms, language, and framework. No configuration needed.

Target a specific platform

Audit a specific platform with the --platform flag:

terminal

$ nerviq audit --platform codex

Platform: Codex CLI

AGENTS.md ........... 18/20 checks

codex.json .......... 12/12 checks

Score: 88/100

Available platforms: claude, codex, gemini, copilot, cursor, windsurf, aider, opencode

Cross-platform harmony

If your project uses multiple AI coding agents, check for configuration drift:

terminal

$ nerviq harmony-audit

Platforms detected: Claude, Codex, Cursor

Drift score: 12% — 3 misalignments found

Run nerviq harmony-fix to align.

Bootstrap a new project

Generate best-practice configuration from scratch:

terminal

$ nerviq setup

Interactive setup wizard

? Select platforms: Claude, Codex

? Language: TypeScript

? Framework: Next.js

Generated 14 files with 412 optimized checks.

CLI Reference

All available commands and flags:

CommandDescription
nerviq auditRun full audit on current project
nerviq audit --platform <p>Audit specific platform
nerviq audit --format jsonOutput as JSON
nerviq audit --ciCI mode (exit code = score < threshold)
nerviq fixGenerate and apply fixes
nerviq fix --dry-runPreview fixes without applying
nerviq fix --rollbackUndo last fix
nerviq harmony-auditCross-platform drift check
nerviq harmony-fixAlign platforms automatically
nerviq setupInteractive project setup
nerviq setup --platform <p>Setup specific platform
nerviq synergyFind amplification opportunities
nerviq mcp serveStart MCP server
nerviq api serveStart REST API server
nerviq --helpShow all commands

Next steps