direnv

v 2.28.0 Updated: 4 months, 2 weeks ago

direnv is an environment switcher for the shell.

direnv is an environment switcher for the shell. It knows how to hook into bash, zsh, tcsh and fish shell to load or unload environment variables depending on the current directory. This allows project-specific environment variables without cluttering the "~/.profile" file.

https://direnv.net/

To install direnv, paste this in macOS terminal after installing MacPorts

sudo port install direnv

Add to my watchlist

Installations 14
Requested Installations 14