How to install the package Splat.Microsoft.Extensions.DependencyInjection from NuGet

By Where Is My .Net Package

.Net
C#
NuGet
Splat.Microsoft.Extensions.DependencyInjection

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

# Package Manager
Install-Package Splat.Microsoft.Extensions.DependencyInjection -Version 9.8.1

# .NET CLI
dotnet add package Splat.Microsoft.Extensions.DependencyInjection --version 9.8.1

# PackageReference
<PackageReference Include="Splat.Microsoft.Extensions.DependencyInjection" Version="9.8.1" />

# Paket CLI
paket add Splat.Microsoft.Extensions.DependencyInjection --version 9.8.1