How to install the .NET package DiagnosticsAnalyzer from NuGet with the dotnet Paket CLI

By Where is my .Net package

.Net
C#
NuGet
Visual Studio
Paket
DiagnosticsAnalyzer

Run the following command to add and install a new dependency to your project.

dotnet paket add DiagnosticsAnalyzer --version 1.0.1