direnv is a tool to set up automatically environment variables as soon as we enter in a directory that contains a .envrc file. We can use this feature to activate our virtualenvs as well. Let's see what happens when we activate manually a virtualenv with source ./env/bin/activate: A new new environment variable called VIRTUAL_ENV is exported. The path is updated to include the bin directory inside our virtualenv this is made to allow us to point to the correct python installation and run cli ...