{"schemaVersion":"opencli.cli.v1","slug":"direnv","name":"direnv","shortName":"direnv","binaryName":"direnv","maker":{"slug":"direnv","name":"direnv","type":"small-team","url":"https://direnv.net","officialPlatformMaker":false,"featuredBuilder":false},"category":"Productivity","description":"Per-project env vars, shell automation, and secrets hygiene from the terminal. Built by direnv.","tagline":"Per-project env vars, shell automation, and secrets hygiene from the terminal.","install":{"packageManager":"brew","command":"brew install direnv","packageName":null,"npmPackage":null,"brewFormula":"direnv","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"direnv --version","signal":"direnv responds locally and is ready for the first real command."},"quickStart":"echo 'layout python' > .envrc && direnv allow","exampleWorkflow":["echo 'layout python' > .envrc && direnv allow"],"agent":{"readiness":{"label":"Human-first CLI","score":35,"reasons":["Supports non-interactive/scripted use."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Start read-only, then ask before mutations."]},"packUrl":"https://opencli.co/cli/direnv/agent.md","packMarkdown":"# OpenCLI Agent Pack: direnv\n\nUse this when an AI agent needs to work with `direnv`.\n\n## What this CLI is for\nPer-project env vars, shell automation, and secrets hygiene from the terminal. Built by direnv.\n\nBest for: per-project env vars, shell automation, and secrets hygiene from the terminal.\n\n## Agent readiness\nHuman-first CLI (35/100)\n- Supports non-interactive/scripted use.\n\n## Install\n```sh\nbrew install direnv\n```\n\n## Verify before real work\n```sh\ndirenv --version\n```\nExpected signal: direnv responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\ndirenv --version\n```\n\n```sh\necho 'layout python' > .envrc && direnv allow\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Start read-only, then ask before mutations.\n\n## Suggested agent instruction\nYou may use direnv (`direnv`) for per-project env vars, shell automation, and secrets hygiene from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"per-project env vars, shell automation, and secrets hygiene from the terminal.","useThisIf":"You work with productivity workflows and want a fast terminal interface.","skipIf":"You don't work with productivity workflows.","whatHappensNext":"Run `echo 'layout python' > .envrc && direnv allow` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":false,"localFirst":false,"destructivePotential":"medium"},"taxonomy":{"useCases":["Per-project env vars","Shell automation","Secrets hygiene"],"aliases":["environment dir"],"keywords":["env vars shell"],"tags":["builder","agent-friendly"]},"links":{"website":"https://direnv.net","github":"https://github.com/direnv/direnv","docs":"https://direnv.net/docs/","opencli":"https://opencli.co/cli/direnv","markdown":"https://opencli.co/cli/direnv/agent.md","json":"https://opencli.co/cli/direnv.json"},"metrics":{"githubStars":15161,"latestRelease":"2026-03-31T18:52:06Z","license":"MIT","metricLabel":"Homebrew installs (30d)","metricValue":11857,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:40.099Z"}}