mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00

* Adding social card infrastructure * Upgrades doc project to .NET 6 * Adds Playwright * Changes the console to a web project for Playwright * Adds social card template * Added blog content * Parallelized social image processing * Updating CI to use .NET 6 for docs build
552 B
552 B
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
After that you will need to reference the Spectre.Console
namespace.
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!");
}
}