macOS
brew install direnvlocal Homebrew formula metadata
sudo port install direnvMacPorts ports tree · devel/direnv/Portfile · Source: api.github.com
brew / rang 355
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de direnv pour les workflows d'agents IA.
installation
brew install direnvlocal Homebrew formula metadata
sudo port install direnvMacPorts ports tree · devel/direnv/Portfile · Source: api.github.com
sudo apk add direnvAlpine Linux edge package indexes · direnv · Source: dl-cdn.alpinelinux.org
sudo apt install direnvDebian stable package indexes · direnv · Source: deb.debian.org
sudo dnf install direnvFedora Rawhide package metadata · direnv · Source: dl.fedoraproject.org
nix profile install nixpkgs#direnvnixpkgs package indexes · pkgs/by-name/di/direnv/package.nix · Source: api.github.com
sudo pacman -S direnvArch Linux sync databases · direnv · Source: geo.mirror.pkgbuild.com
sudo zypper install direnvopenSUSE Tumbleweed package metadata · direnv · Source: download.opensuse.org
scoop install main/direnvScoop official bucket manifest trees · bucket/direnv.json · Source: api.github.com
winget install --id direnv.direnv -eWindows Package Manager source index · direnv.direnv · Source: cdn.winget.microsoft.com
aperçu
Load/unload environment variables based on $PWD
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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.envrcexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
direnv | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:direnv |
|---|---|
| Version | 2.37.1 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://direnv.net/ |
| Dépôt | https://github.com/direnv/direnv |
| Dernière mise à jour | 2026-07-21T09:31:34-04:00 |
| Pulse | updated |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.