direnv

popularproductivitybrew

direnv · Per-project env vars, shell automation, and secrets hygiene from the terminal.

$ brew install direnv
One-liner to try
$ echo 'layout python' > .envrc && direnv allow

Agent pack

Copy into an agent

A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.

Open .md
Readiness
Human-first CLI · 35/100
Verify
direnv --version
Agent URL
/cli/direnv/agent.md

Quick reference

Installbrew install direnv
Verifydirenv --version
First commandecho 'layout python' > .envrc && direnv allow

About

Per-project env vars, shell automation, and secrets hygiene from the terminal. Built by direnv.

Example workflow

1. echo 'layout python' > .envrc && direnv allow

Alternatives worth considering