All Tools
D
Dev ToolsFreeOpen Source
DIRENV
Per-directory environment variables for your shell
MIT
ABOUT
Global .profile files accumulate API keys, CUDA paths, and venv activations that leak across projects. direnv evaluates a per-directory .envrc on cd and unloads it when you leave, so each ML repo gets the right Python, keys, and tool versions without polluting the rest of your shell.
INSTALL
brew install direnvINTEGRATION GUIDE
1. Auto-activate a project Python venv and CUDA toolkit when you enter the repo
2. Load OPENAI_API_KEY and other secrets only inside a trusted project directory
3. Switch NODE_ENV, AWS profiles, or kube contexts per folder without aliases
4. Keep a clean shell when hopping between client and open-source codebases
TAGS
clienvironmentshellgolangsecretsdeveloper-toolsopen-source