dotnet add package adds a NuGet package reference to a .NET project, restores the package, and makes its namespace and classes available to source files. section 3.5
Use it from the project folder:
- Run dotnet add package <packagename>. section 3.5
- The command updates the .csproj file with a PackageReference and restores the package. section 3.5
