ImportDotEnv

1.0.0

Hierarchical .env file management for PowerShell with directory-aware loading/unloading

Minimum PowerShell version

4.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ImportDotEnv

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ImportDotEnv

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Cosmic DNA. All rights reserved.

Package Details

Author(s)

  • Daniel de Souza

Tags

env dotenv environment compatibility

Functions

Import-DotEnv Enable-ImportDotEnvCdIntegration Disable-ImportDotEnvCdIntegration Invoke-ImportDotEnvSetLocationWrapper

Dependencies

This module has no dependencies.

Release Notes

- Added hierarchical .env file loading from root to current directory
- Implemented proper environment variable precedence
- Added VS Code hyperlink integration
- Fixed path comparison issues on Windows
- Improved change detection and reload logic

FileList

  • ImportDotEnv.nuspec
  • reports\icon_search-plus_dark.svg
  • reports\icon_wrench_dark.svg
  • reportgenerator\DotNetConfig.dll
  • reportgenerator\Microsoft.Extensions.FileProviders.Abstractions.dll
  • reportgenerator\ReportGenerator.DotnetCorePluginLoader.dll
  • reportgenerator\runtimes\win\lib\net8.0\System.Diagnostics.EventLog.Messages.dll
  • reports\icon_info-circled.svg
  • reports\icon_sponsor.svg
  • reports\ImportDotEnv_ImportDotEnv_ImportDotEnv.html
  • reportgenerator\McMaster.NETCore.Plugins.dll
  • reportgenerator\Microsoft.Extensions.FileProviders.Physical.dll
  • reportgenerator\ReportGenerator.DotnetCorePluginLoader.xml
  • reports\class.js
  • reports\icon_info-circled_dark.svg
  • reports\icon_star.svg
  • reports\index.htm
  • coverage.xml
  • reportgenerator\Microsoft.Build.Framework.dll
  • reportgenerator\Microsoft.Extensions.FileSystemGlobbing.dll
  • reportgenerator\ReportGenerator.exe
  • reports\coverage.json
  • reports\icon_minus.svg
  • reports\icon_star_dark.svg
  • reports\index.html
  • reportgenerator\Microsoft.Build.Utilities.Core.dll
  • reportgenerator\Microsoft.Extensions.ObjectPool.dll
  • reportgenerator\ReportGenerator.MSBuild.dll
  • reports\icon_cog.svg
  • reports\icon_minus_dark.svg
  • reports\icon_up-dir.svg
  • reports\main.js
  • ImportDotEnv.psd1
  • reportgenerator\Microsoft.Extensions.Configuration.Abstractions.dll
  • reportgenerator\Microsoft.Extensions.Primitives.dll
  • reportgenerator\ReportGenerator.runtimeconfig.json
  • reports\icon_cog_dark.svg
  • reports\icon_plus.svg
  • reports\icon_up-dir_active.svg
  • reports\report.css
  • ImportDotEnv.psm1
  • reportgenerator\Microsoft.Extensions.Configuration.Binder.dll
  • reportgenerator\Microsoft.NET.StringTools.dll
  • reportgenerator\System.Configuration.ConfigurationManager.dll
  • reports\icon_cube.svg
  • reports\icon_plus_dark.svg
  • reports\icon_up-down-dir.svg
  • reports\Summary.tex
  • README.md
  • reportgenerator\Microsoft.Extensions.Configuration.CommandLine.dll
  • reportgenerator\ReportGenerator.Core.dll
  • reportgenerator\System.Diagnostics.EventLog.dll
  • reports\icon_cube_dark.svg
  • reports\icon_search-minus.svg
  • reports\icon_up-down-dir_dark.svg
  • scripts\RunTests.ps1
  • .github\workflows\pester.yml
  • reportgenerator\Microsoft.Extensions.Configuration.dll
  • reportgenerator\ReportGenerator.Core.xml
  • reportgenerator\System.Security.Cryptography.ProtectedData.dll
  • reports\icon_fork.svg
  • reports\icon_search-minus_dark.svg
  • reports\icon_wrench.svg
  • Tests\ImportDotEnv.Tests.ps1
  • .github\workflows\release.yml
  • reportgenerator\Microsoft.Extensions.Configuration.FileExtensions.dll
  • reportgenerator\ReportGenerator.deps.json
  • reportgenerator\runtimes\win\lib\net8.0\System.Diagnostics.EventLog.dll
  • reports\icon_fork_dark.svg
  • reports\icon_search-plus.svg
  • reportgenerator\appsettings.json
  • reportgenerator\Microsoft.Extensions.Configuration.Json.dll
  • reportgenerator\ReportGenerator.dll

Version History

Version Downloads Last updated
1.0.0 (current version) 6 5/11/2025
0.0.22 28 2/19/2025
0.0.21 10 2/19/2025
0.0.20 6 2/19/2025
0.0.19 9 2/19/2025
0.0.18 6 2/19/2025
0.0.17 6 2/19/2025
0.0.16 5 2/19/2025
0.0.15 5 2/18/2025
0.0.14 4 2/18/2025
0.0.13 5 2/18/2025
0.0.12 4 2/18/2025
0.0.11 7 2/18/2025
0.0.10 4 2/18/2025
0.0.9 6 2/18/2025
0.0.8 17 2/17/2025
0.0.7 6 2/17/2025
0.0.6 9 2/16/2025
0.0.5 4 2/16/2025
0.0.4 8 2/16/2025
0.0.3 8 2/16/2025
0.0.2 9 2/16/2025
0.0.1 8 2/15/2025
Show more