How to install the .NET package CG.Hosting from NuGet with the dotnet CLI

By Where is my .Net Package

.Net
C#
NuGet
Visual Studio
CG.Hosting

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 CG.Hosting --version 2021.1.2