Installing-Direnv
Install Direnv
The above link will send you to the page for installation of Direnv. However, I find it easier to install via Homebrew or sudo apt-get.
After the install you need to hook the program into your shell.
The above link brings you to the instructions to do this, however I find it easier to just use the echo command to add the eval command into the needed RC file.
So for example, on a mac just using ZSH you can run the below command:
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
#GeneralTools
#Direnv