direnv - Automatic per-project shell configuration
Manage automatic per-project shell environment configuration
Tags
Updated: 2026-03-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- set environment variables
- modify PATH
- load env files
- configure Python layout
- configure Node layout
- configure Go layout
- configure Ruby layout
- watch file changes
- export functions
- enforce environment validation
- apply conditional configuration
- allow directory
- deny directory
- reload environment
Inputs
- .envrc file
- .envrc.local file
- .env file
- .tool-versions file
- project directory
- API keys
- database credentials
- secrets
Outputs
- environment variables
- PATH configuration
- project-specific settings
- shell functions
- loaded environment status
- error messages
Requirements
- direnv installed
- shell with hook configured
- nix (optional)
- asdf (optional)
- pyenv (optional)
- nvm (optional)
- docker (optional)
