Stack Gems
Menu
← Catalog

direnv

MIT per-directory env loader for any shell

DevOps / Infrastructure · OSS/MIT · 15.5k

Reviewed 2026-09-07 · last push 2026-10-12 · repo checked 2026-10-19

What's Good

MIT. Works with bash/zsh/fish/etc, pairs with asdf/mise, stdlib helpers, deny-by-default allow.

The Catch

Each new .envrc needs `direnv allow`. Not a secrets vault — still files on disk.

Verdict

MIT directory env. Free forever; allow once per project and stop polluting $PATH.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/direnv.svg)](https://stackgems.com/gems/direnv)

HTML

<a href="https://stackgems.com/gems/direnv"><img src="https://stackgems.com/badge/direnv.svg" alt="direnv reviewed on Stack Gems" height="20"></a>

Related

DevOps →