mirror of
				https://github.com/spectreconsole/spectre.console.git
				synced 2025-10-25 15:19:23 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			621 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			621 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| 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.
 | |
| 
 | |
| ```text
 | |
| > 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.
 | |
| 
 | |
| ```csharp
 | |
| using Spectre.Console;
 | |
| 
 | |
| public static class Program
 | |
| {
 | |
|     public static void Main(string[] args)
 | |
|     {
 | |
|         AnsiConsole.Markup("[underline red]Hello[/] World!");
 | |
|     }
 | |
| }
 | |
| ```
 |