curb-cli 0.16.1

dotnet tool install --global curb-cli --version 0.16.1
                    
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 curb-cli --version 0.16.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=curb-cli&version=0.16.1
                    
nuke :add-package curb-cli --version 0.16.1
                    

curb-cli

Curb

A C# formatter that reads your .editorconfig, all of it, and reflows code to a line width the way Prettier does. This is the curb command line tool.

NuGet

curb format on an untidy C# file: the file before, curb's report, and the file after

Install

dotnet tool install -g curb-cli

Ships as a native-AOT binary per platform (linux-x64, linux-arm64, win-x64, win-arm64, osx-arm64), with a portable fallback. About 10 ms startup.

Quick start

curb format ./src          # format in place
curb check ./src           # exit 1 if anything would change
curb print-config Foo.cs   # show every resolved option and its source

For code style rules that need a compilation (unused usings, var, naming), run a build first and let Curb read what it reported:

dotnet build && curb cleanup

curb rules lists what Curb fixes and what it leaves to dotnet format style, and curb options lists the .editorconfig keys it implements.

Curb honours the complete set of .NET formatting options (IDE0055) with Roslyn's defaults, so it agrees with Visual Studio and Rider out of the box; max_line_length opts into reflow on top. With Fantomas in your tool manifest, curb format and curb check cover F# files too.

Learn more

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.16.1 867 11/20/2026
0.16.0 148 11/19/2026
0.15.1 1,701 11/12/2026
0.15.0 125 11/12/2026
0.14.3 348 11/12/2026
0.14.2 748 11/12/2026
0.14.1 682 11/11/2026
0.14.0 595 11/11/2026
0.13.2 116 11/11/2026
0.13.1 116 11/11/2026
0.13.0 240 11/4/2026
0.12.1 130 11/4/2026
0.12.0 137 11/3/2026
0.11.0 129 11/3/2026
0.10.5 133 11/3/2026
0.10.4 1,006 11/1/2026
0.10.3 135 11/1/2026
0.10.0 181 10/30/2026
0.9.0 498 10/30/2026
0.8.1 142 10/29/2026
Loading failed