How to install the .NET package YamlDotNet.NetStandard from NuGet with the dotnet CLI

By Where is my .Net Package

.Net
C#
NuGet
Visual Studio
YamlDotNet.NetStandard

Open a command line and switch to the directory that contains your project file. Use the following command to install a Nuget package.

dotnet add package YamlDotNet.NetStandard --version 4.0.0