dotnet add <PROJECT PATH> package <NUGET PACKAGE>
project path is optional
dotnet add <PROJECT PATH> reference <REFERENCE PROJECT PATH>
project path is optional
dotnet sln add <PROJECT PATH>
note this is done in the directory with the solution
dotnet add <PROJECT PATH> package <NUGET PACKAGE>
project path is optional
dotnet add <PROJECT PATH> reference <REFERENCE PROJECT PATH>
project path is optional
dotnet sln add <PROJECT PATH>
note this is done in the directory with the solution