Skip to content

direnv

Agent-readyGit & GitHubProductivity

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

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

Task fit

per-project env vars, shell automation, and secrets hygiene from the terminal.

Lane

Review PRs, triage issues, inspect workflows, and keep repo work agent-safe.

Operator brief

Use direnv for per-project env vars, shell automation, and secrets hygiene from the terminal.

Run `echo 'layout python' > .envrc && direnv allow` and see what comes back.

Repository family

direnv

First trust check

direnv responds locally and is ready for the first real command.

Safe first loop

Install, verify, then run one real command.

GitHub review loop

Install command

$ brew install direnv

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ direnv --version

direnv responds locally and is ready for the first real command.

First real command

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

First steps

  1. 01Install direnv.
  2. 02Run `direnv --version` first.
  3. 03Start with `echo 'layout python' > .envrc && direnv allow`.
  4. 04Install the CLI and make sure it is on your PATH.

When to use / hold off when

Best for

per-project env vars, shell automation, and secrets hygiene from the terminal.

Use this when

You work with productivity workflows and want a fast terminal interface.

Hold off when

You don't work with productivity workflows.

Trust and constraints

trusted95/100
Install readyTrusted
JSON outputNo
Non-interactiveYes
CI-friendlyNo

Why operators pick it

  • direnv fits git & github well, especially for per-project env vars, shell automation, and secrets hygiene from the terminal.
  • 11,249 homebrew installs (30d).
  • Easy to automate.

Constraints

  • Output is mostly plain text.
  • Better for local use than CI.

Repository context

Other CLIs in this family

This is the only CLI surfaced from this family right now.

Facts and links

Install withbrew
Homebrew installs (30d)11.2K
GitHub stars14.9K
LicenseMIT
UpdatedMar 25, 2026