Add installation instructions

* to add how to install

* fix

* remove empty line
This commit is contained in:
Takahito Yamatoya 2020-10-19 23:50:54 +09:00 committed by GitHub
parent cb2924a609
commit 0b4359a52a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,10 +10,11 @@ for Python.
1. [Features](#features) 1. [Features](#features)
2. [Example](#example) 2. [Example](#example)
3. [Usage](#usage) 3. [Installing](#installing)
3.1. [Using the static API](#using-the-static-api) 4. [Usage](#usage)
3.2. [Creating a console](#creating-a-console) 4.1. [Using the static API](#using-the-static-api)
4. [Running examples](#running-examples) 4.2. [Creating a console](#creating-a-console)
5. [Running examples](#running-examples)
## Features ## Features
@ -30,6 +31,14 @@ for Python.
![Example](resources/gfx/screenshots/example.png) ![Example](resources/gfx/screenshots/example.png)
## Installing
The fastest way of getting started using Spectre.Console is to install the NuGet package.
```csharp
dotnet add package Spectre.Console
```
## Usage ## Usage
The `Spectre.Console` API is stateful and is not thread-safe. The `Spectre.Console` API is stateful and is not thread-safe.