# direnv — Automatic Environment Switcher for Your Shell > direnv loads and unloads environment variables when you cd into a directory. Per-project PATH, API keys, and language versions — applied automatically when you enter, cleaned up when you leave. The foundation of reproducible dev environments. ## Install Copy the content below into your project: --- Source: https://tokrepo.com/en/workflows/direnv-automatic-environment-switcher-your-shell-8eaceee5 Author: