Skip to content
Theme
Language

Quick installation

Install only the surface your workflow needs. The packages are independent.

Terminal window
dotnet add package ComplexityAnalysis.Analyzers

Roslyn loads the analyzer during builds and IDE analysis. Your application does not call it and receives no analyzer runtime dependency.

The documented 1.0.0 command applies after that version is published on NuGet.org:

Terminal window
dotnet tool install --global ComplexityAnalysis.Tool --version 1.0.0
complexity-analysis --version

For reproducible repositories, prefer a local tool manifest and commit .config/dotnet-tools.json.

The documented 1.0.0 command applies after that version is published on NuGet.org:

Terminal window
dotnet tool install --global ComplexityAnalysis.Mcp --version 1.0.0
complexity-mcp --version

MCP clients start complexity-mcp over stdio with an explicit read boundary:

Terminal window
complexity-mcp --root /absolute/path/to/project