CodeCharter.Cli 1.6.3

dotnet tool install --global CodeCharter.Cli --version 1.6.3
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local CodeCharter.Cli --version 1.6.3
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CodeCharter.Cli&version=1.6.3
                    
nuke :add-package CodeCharter.Cli --version 1.6.3
                    

CodeCharter CLI

Deterministic code quality analysis for .NET, built on Roslyn. Write rules in a LINQ-like DSL, store them as .ccr files, and run them from the command line, in CI, or from your editor.

Installed as a .NET global tool, the command is codecharter:

dotnet tool install --global CodeCharter.Cli
codecharter analyze MyProject.sln --rules path/to/rules

What it does

  • analyze — analyze a solution or project and report findings, with CI-friendly exit codes and a --git-ref mode that gates only changed lines.
  • validate / test / docs — parse and type-check a .ccr rule, run its spec (hit/miss cases), and read the rule-authoring documentation offline.
  • restore / update / verify / push — resolve versioned rule profiles against the CodeCharter portal, keep codecharter.lock.json in sync, verify the local bundle cache, and upload rule and profile drafts.
  • config — inspect, validate and edit .codecharter/config.yml, including the config.local.yml overlay.
  • coverage — run tests with coverage collection and gate on a minimum line-coverage percentage.
  • mcp / install — run the CodeCharter MCP server (Model Context Protocol) and register it with an AI coding tool, so analysis is available on demand.
  • lsp / config-lsp — language servers for .ccr rules and for .codecharter/config.yml.
  • auth / login / logout — manage the credentials stored on this machine.

Run codecharter --help or codecharter <command> --help for the full surface.

Runtime requirements

This tool is part of a commercial product. Installing the package does not grant a usage right. A valid CodeCharter license or API key is required at runtime; without it the CLI will not perform analysis.

See https://codecharter.tools for documentation, and https://codecharter.tools/docs/cli/license for how to obtain a license and configure it.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.6.3 685 9/8/2026
1.6.2 298 9/6/2026
1.6.1 281 9/4/2026
1.6.0 131 9/4/2026
1.5.6 172 9/2/2026
1.5.5 335 8/31/2026
1.5.4 143 8/31/2026
1.5.3 188 8/27/2026
1.5.2 263 8/25/2026
1.5.1 100 8/25/2026
1.5.0 109 8/24/2026
1.4.11 1,055 8/9/2026
1.4.10 109 8/8/2026
1.4.9 111 8/3/2026
1.4.8 116 8/3/2026
1.4.7 116 8/2/2026
1.4.6 116 8/2/2026
1.4.5 114 7/30/2026
1.4.4 113 7/29/2026
1.4.3 108 7/29/2026
Loading failed