spectre.console/docs/input/quick-start.md
2020-11-25 12:15:25 +01:00

26 lines
499 B
Markdown

Title: Quick Start
Order: 1
---
The fastest way of getting started using Spectre.Console is
to install the NuGet package.
```text
> 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.
```csharp
using Spectre.Console
public static class Program
{
public static void Main(string[] args)
{
AnsiConsole.Markup("[underline red]Hello[/] World!");
}
}
```