Skip to main content
dotenv.net package icon

dotenv.net

A library to read variables from a .env file and populate the environment variables.

Total Downloads
11.4M
11,404,478
Published
Jul 11, 2025
Latest stable version

Install

.NET CLI
dotnet add package dotenv.net --version 4.0.0
Package Manager Console
Install-Package dotenv.net -Version 4.0.0
PackageReference
<PackageReference Include="dotenv.net" Version="4.0.0" />

Frameworks

.NETStandard2.0 .NETStandard2.1

Dependencies

System.Memory
.NETStandard2.0
[4.6.3, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 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.