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.35.0
head ⚡️ HEAD

Depends on:

bash 5.2.37 Bourne-Again SHell, a UNIX command interpreter

Depends on when building from source:

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

Analytics:

Installs (30 days)
direnv 12,502
direnv --HEAD 8
Installs on Request (30 days)
direnv 12,490
direnv --HEAD 8
Build Errors (30 days)
direnv 49
Installs (90 days)
direnv 39,123
direnv --HEAD 33
Installs on Request (90 days)
direnv 39,083
direnv --HEAD 33
Installs (365 days)
direnv 162,773
direnv --HEAD 178
Installs on Request (365 days)
direnv 162,576
direnv --HEAD 178
Fork me on GitHub