Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 621 Bytes

quick-start.md

File metadata and controls

27 lines (22 loc) · 621 Bytes

Title: Quick Start Order: 20 Description: Getting started with Spectre.Console

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

> dotnet add package Spectre.Console
> dotnet add package Spectre.Console.Cli

After that you will need to reference the Spectre.Console and Spectre.Console.Cli namespaces. Once that is done, you can start using all the available features.

using Spectre.Console;

public static class Program
{
    public static void Main(string[] args)
    {
        AnsiConsole.Markup("[underline red]Hello[/] World!");
    }
}