← Package directory
Available on winget

Install direnv

Shell extension to manage environment variables per current directory.

Install with winget
winget install --id direnv.direnv
Upgrade
winget upgrade --id direnv.direnv
Uninstall
winget uninstall --id direnv.direnv

About direnv

An extension for to augment existing shells with a new feature that can load and unload environment variables depending on the current directory.

What's new in 2.37.1

- fix: regression in displaying export errors (#1469) 2.37.0 / 2025-07-02

Read release notes

Version history

Version Updated Notes
2.37.1 Unknown - fix: regression in displaying export errors (#1469) 2.37.0 / 2025-07-02
2.37.0 Unknown - docs: add github-actions page - docs: document sub-commands - docs: fix link to guix manual (#1421) - docs: re-generate manpages - feat(direnv export gha): strengthen export format - feat: add windows arm64 target (#14...
2.36.0 Unknown - direnv now requires go 1.24 (#1384) - doc: Correct duplicate usage of 'with' in the direnv(1) (#1394) - doc: note direnv version for log_{format,filter} (#1369) - feat: Add use_flox to stdlib.sh (#1372) - feat: logging...
2.35.0 Unknown - doc: Add version requirement for load_dotenv option (#1326) - doc: fix broken link (#1327) - doc: update elvish docs (#1305) - docs: change Guix link to its package search. (#1268) - feat: add opam support (#1298) - fi...
2.34.0 Unknown - doc: README.md, man pages: it's typos (#1230) - doc: add shell setup instructions for oh-my-zsh (#1070) - doc: added fetchurl manpage link to README.md - doc: document XDG_DATA_HOME (#1185) - doc: update installation.m...
2.33.0 Unknown - doc: add a Nushell section to hook.md by @amtoine in #1175 - doc: fix broken links in installation.md by @just1602 in #1110 - doc: show how to run tests by @bukzor-sentryio in #1137 - doc: update NixOS installation ins...
2.32.3 Unknown No notes
2.32.2 Unknown Release notes