direnv

Install command:
brew install direnv

Load/unload environment variables based on $PWD

https://direnv.net/

License: MIT

Formula JSON API: /api/formula/direnv.json

Formula code: direnv.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux x86_64

Current versions:

stable 2.37.1
head ⚡️ HEAD

Depends on:

bash 5.3.3 Bourne-Again SHell, a UNIX command interpreter

Depends on when building from source:

go 1.25.0 Open source programming language to build simple/reliable/efficient software

Analytics:

Installs (30 days)
direnv 14,876
direnv --HEAD 25
Installs on Request (30 days)
direnv 14,833
direnv --HEAD 25
Build Errors (30 days)
direnv 11
Installs (90 days)
direnv 48,189
direnv --HEAD 69
Installs on Request (90 days)
direnv 48,016
direnv --HEAD 69
Installs (365 days)
direnv 173,878
direnv --HEAD 225
Installs on Request (365 days)
direnv 173,476
direnv --HEAD 225