Simply install the NuGet package into the project where you want to add a source generator using dotnet package add SourceGenTemplates