How to install the package Microsoft.Unity.Analyzers from NuGet

By Where Is My .Net Package

.Net
C#
NuGet
Microsoft.Unity.Analyzers

Here are different methods to install the package. Check the documentation for the latest version.

# Package Manager
Install-Package Microsoft.Unity.Analyzers -Version 1.9.1

# .NET CLI
dotnet add package Microsoft.Unity.Analyzers --version 1.9.1

# PackageReference
<PackageReference Include="Microsoft.Unity.Analyzers" Version="1.9.1" />

# Paket CLI
paket add Microsoft.Unity.Analyzers --version 1.9.1