spectre.console alternatives and similar packages
Based on the "CLI" category.
Alternatively, view spectre.console alternatives based on common mentions on social networks and blogs.
-
Command Line Parser
The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support -
Fluent Command Line Parser
A simple, strongly typed .NET C# command line parser library using a fluent easy to use interface -
DotMake Command-Line
Declarative syntax for System.CommandLine via attributes for easy, fast, strongly-typed (no reflection) usage. Includes a source generator which automagically converts your classes to CLI commands and properties to CLI options or CLI arguments. -
NFlags
Simple yet powerfull library to made parsing CLI arguments easy. Library also allow to print usage help "out of box". -
Tamar.ANSITerm
“ANSITerm” provides ANSI escape codes and true color formatting for .NET Core's Console on Linux terminals. -
DarkXaHTeP.CommandLine
Allows creating CommandLine applications using Microsoft.Extensions.CommandLineUtils together with DI, Configuration and Logging in a convenient way similar to AspNetCore Hosting
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of spectre.console or a related project?
README
Spectre.Console
A .NET 6/.NET Standard 2.0 library that makes it easier to create beautiful, cross platform, console applications.
It is heavily inspired by the excellent Rich library
for Python.
Table of Contents
Features
- Written with unit testing in mind.
- Supports tables, grids, panels, and a rich inspired markup language.
- Supports the most common SRG parameters when it comes to text styling such as bold, dim, italic, underline, strikethrough, and blinking text.
- Supports 3/4/8/24-bit colors in the terminal.
The library will detect the capabilities of the current terminal and downgrade colors as needed.
[Example](docs/input/assets/images/example.png)
Installing
The fastest way of getting started using Spectre.Console
is to install the NuGet package.
dotnet add package Spectre.Console
Documentation
The documentation for Spectre.Console
can be found at
https://spectreconsole.net/
Examples
To see Spectre.Console
in action, install the
dotnet-example
global tool.
> dotnet tool restore
Now you can list available examples in this repository:
> dotnet example
And to run an example:
> dotnet example tables
Sponsors
The following people are sponsoring Spectre.Console to show their support and to ensure the longevity of the project.
- Rodney Littles II
- Martin Björkström
- Dave Glick
- Kim Gunanrsson
- Andrew McClenaghan
- C. Augusto Proiete
- Viktor Elofsson
- Steven Knox
- David Pendray
- Elmah.io
I really appreciate it.
Thank you very much!
License
Copyright © Patrik Svensson, Phil Scott, Nils Andresen
Spectre.Console is provided as-is under the MIT license. For more information see LICENSE.
- For SixLabors.ImageSharp, see https://github.com/SixLabors/ImageSharp/blob/master/LICENSE
*Note that all licence references and agreements mentioned in the spectre.console README section above
are relevant to that project's source code only.