Ariadne.NET.Cli
0.7.1
dotnet tool install --global Ariadne.NET.Cli --version 0.7.1
dotnet new tool-manifest
dotnet tool install --local Ariadne.NET.Cli --version 0.7.1
#tool dotnet:?package=Ariadne.NET.Cli&version=0.7.1
nuke :add-package Ariadne.NET.Cli --version 0.7.1
Ariadne.NET.Cli
The ariadne command line tool. It checks a .NET solution against the Ariadne.NET architecture rule packs in its .architecture folder, sets up those rules in a repository, and runs the Claude Code hooks that keep an agent inside them.
Install
dotnet tool install --global Ariadne.NET.Cli
ariadne --version
The tool runs on .NET 10. It loads projects with MSBuild from the installed .NET SDK, so a .NET SDK must be on the machine, not only the runtime.
Validate a solution
ariadne init --template clean-architecture
dotnet restore
ariadne validate
ariadne init writes .architecture/rules.yaml. ariadne validate takes a .sln, .slnx, .slnf or .csproj, or a folder that holds exactly one of them, and defaults to the current folder. It checks the solution against every pack in the nearest .architecture folder. Ariadne never restores, so run dotnet restore first.
--format text|json|sarif picks the report format, and --output FILE writes the report to a file instead of standard output:
ariadne validate src/MyApp.slnx --format sarif --output artifacts/architecture.sarif
Exit codes
| Code | Meaning |
|---|---|
| 0 | The check ran and found no violations. |
| 1 | The check ran and found violations. |
| 2 | The command could not run: an invalid pack, missing files, a solution that failed to load, a report that could not be written. |
A CI step can fail on 1 and 2 alike, or tell a broken rule apart from a broken setup.
An unknown option or argument currently exits 1, the same code as violations; see issue #70.
Other commands
ariadne rules and ariadne roles show the resolved pack, ariadne generate places a new component, ariadne sync fetches imported packs, and ariadne hook <session-start|pre-tool-use|stop> runs a Claude Code hook. ariadne init --agent claude installs those hooks into .claude/settings.json. ariadne --help lists every command and option.
Docs
The full documentation is at marcelroozekrans.github.io/Ariadne.NET.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.7.1 | 0 | 11/11/2026 |