s73obrien / spectre.console

A .NET library that makes it easier to create beautiful console applications.

Home Page:https://spectreconsole.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Spectre.Console NuGet Version Netlify Status

A .NET 5/.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

  1. Features
  2. Installing
  3. Documentation
  4. Examples
  5. Sponsors
  6. License


  • 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.



The fastest way of getting started using Spectre.Console is to install the NuGet package.

dotnet add package Spectre.Console


The documentation for Spectre.Console can be found at https://spectreconsole.net/


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


The following people are sponsoring Spectre.Console to show their support and to ensure the longevity of the project.

I really appreciate it.
Thank you very much!


Copyright © Patrik Svensson, Phil Scott, Nils Andresen

Spectre.Console is provided as-is under the MIT license. For more information see LICENSE.


A .NET library that makes it easier to create beautiful console applications.


License:MIT License


Language:C# 99.8%Language:PowerShell 0.2%