dotnet tool install -g Rnwood.Smtp4dev smtp4dev If you want to use the pre-release development versions, add --prerelease