How to Use: envchain

Install Link to heading

git clone https://github.com/sorah/envchain.git
cd envchain
make
sudo make install

Usage Link to heading

Store a new environment variable with the following command, adding the value after the prompt:

envchain -s -n namespace MY_NEW_ENV_VAR

Execute a command with your new environment variable set:

envchain namespace env | grep MY_NEW_ENV_VAR=