Skip to main content
Microsoft.Extensions.Configuration.EnvironmentVariables package icon

Microsoft.Extensions.Configuration.EnvironmentVariables

Environment variables configuration provider implementation for Microsoft.Extensions.Configuration. This package enables you to read configuration parameters from environment variables. You can use EnvironmentVariablesExtensions.AddEnvironmentVariables extension method on IConfigurationBuilder to add the environment variables configuration provider to the configuration builder.

Total Downloads
2.6B
2,556,185,858
Published
Apr 21, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Extensions.Configuration.EnvironmentVariables --version 10.0.7
Package Manager Console
Install-Package Microsoft.Extensions.Configuration.EnvironmentVariables -Version 10.0.7
PackageReference
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="10.0.7" />

Frameworks

.NETFramework4.6.2 net8.0 net9.0 net10.0 .NETStandard2.0

Dependencies

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.