macOS
brew install direnvlocal Homebrew formula metadata
sudo port install direnvMacPorts ports tree · devel/direnv/Portfile · Quelle: api.github.com
brew / Rang 355
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für direnv in AI-Agent-Workflows.
Installation
brew install direnvlocal Homebrew formula metadata
sudo port install direnvMacPorts ports tree · devel/direnv/Portfile · Quelle: api.github.com
sudo apk add direnvAlpine Linux edge package indexes · direnv · Quelle: dl-cdn.alpinelinux.org
sudo apt install direnvDebian stable package indexes · direnv · Quelle: deb.debian.org
sudo dnf install direnvFedora Rawhide package metadata · direnv · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#direnvnixpkgs package indexes · pkgs/by-name/di/direnv/package.nix · Quelle: api.github.com
sudo pacman -S direnvArch Linux sync databases · direnv · Quelle: geo.mirror.pkgbuild.com
sudo zypper install direnvopenSUSE Tumbleweed package metadata · direnv · Quelle: download.opensuse.org
scoop install main/direnvScoop official bucket manifest trees · bucket/direnv.json · Quelle: api.github.com
winget install --id direnv.direnv -eWindows Package Manager source index · direnv.direnv · Quelle: cdn.winget.microsoft.com
Überblick
Load/unload environment variables based on $PWD
Verlauf
direnv is a shell extension for loading and unloading project-specific environment variables as the current working directory changes.
The project frames itself as a way to unclutter shell startup files: instead of putting every export in a global profile, a project can keep an authorized .envrc near its source tree. Its README and man page describe a small, language-agnostic executable that hooks into interactive shells and evaluates environment changes in a subprocess.
Official installation documentation lists packages or install paths for Fedora, Arch Linux, Debian, Gentoo Guru, NetBSD pkgsrc-wip, NixOS, Homebrew, openSUSE, MacPorts, Ubuntu, GNU Guix, and Windows winget. That packaging spread matches direnv's role as cross-language glue for local development environments.
The common workflow is to install direnv, hook it into the user's shell, create a project .envrc, and explicitly allow that file before it is evaluated. The README highlights 12-factor environment variables, isolated development environments, deployment secrets, and integrations with tools such as Nix and language version managers.
Package nerds care about direnv because it solves a small boundary problem cleanly: it lets shells, package managers, language managers, and project repositories cooperate without turning into a full environment manager.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/direnv/direnv.toml~/.config/direnv/direnv.toml~/.config/direnv/direnvrc.envrcExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
direnv | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:direnv |
|---|---|
| Version | 2.37.1 |
| Paketmanager | Homebrew |
| Homepage | https://direnv.net/ |
| Repository | https://github.com/direnv/direnv |
| Zuletzt aktualisiert | 2026-07-21T09:31:34-04:00 |
| Pulse | updated |
| Bottle | nicht erfasst |
| Dienst | keiner deklariert |
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
direnv 2.32.1-2+b16
Utility to set directory specific environment variables
sudo apt install direnvdirenv
nix profile install nixpkgs#direnvdirenv 2.32.1-2build1
Utility to set directory specific environment variables
sudo apt install direnvdirenv 2.37.1-r8
Environment variable switcher for the shell
sudo apk add direnvdirenv-doc 2.37.1-r8
Environment variable switcher for the shell (documentation)
sudo apk add direnv-docdirenv-fish 2.37.1-r8
configuration hooks for fish
sudo apk add direnv-fishdirenv 2.37.1-7.fc45
Per-directory shell configuration tool
https://github.com/direnv/direnv
sudo dnf install direnvdirenv 2.37.1-1
A shell extension that manages your environment
sudo pacman -S direnvdirenv 2.37.1-1.7
Environment switcher for shells
sudo zypper install direnvdirenv-bash-completion 2.37.1-1.7
Bash Completion for direnv
sudo zypper install direnv-bash-completiondirenv-fish-completion 2.37.1-1.7
Fish Completion for direnv
sudo zypper install direnv-fish-completiondirenv-zsh-completion 2.37.1-1.7
Zsh Completion for direnv
sudo zypper install direnv-zsh-completiondirenv
sudo port install direnvmain/direnv
scoop install main/direnvdirenv.direnv
winget install --id direnv.direnv -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.