pkg.soopen package index

brew / rang 355

Installer direnv avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de direnv pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install direnv

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install direnv

MacPorts ports tree · devel/direnv/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add direnv

Alpine Linux edge package indexes · direnv · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install direnv

Debian stable package indexes · direnv · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install direnv

Fedora Rawhide package metadata · direnv · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#direnv

nixpkgs package indexes · pkgs/by-name/di/direnv/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S direnv

Arch Linux sync databases · direnv · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install direnv

openSUSE Tumbleweed package metadata · direnv · Source: download.opensuse.org

Windows

Scoopvérifié · 92%
scoop install main/direnv

Scoop official bucket manifest trees · bucket/direnv.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id direnv.direnv -e

Windows Package Manager source index · direnv.direnv · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Load/unload environment variables based on $PWD

Commandes et alias

  • direnv

historique

Historique du projet et usages

direnv is a shell extension for loading and unloading project-specific environment variables as the current working directory changes.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2011: GitHub repository created.
  • 2019: direnv.toml manual documents the TOML config file path.
  • 2025: v2.37.1 published on GitHub releases.

Related projects

  • The official README points users toward adjacent tools including Environment Modules, autoenv, zsh-autoenv, asdf, shadowenv, quickenv, and mise.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

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

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$XDG_CONFIG_HOME/direnv/direnv.toml~/.config/direnv/direnv.toml~/.config/direnv/direnvrc.envrc

exécutables

Exécutables installés

CommandeTypeExpositionNote
direnvexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et 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.

page générée2026-08-03
version du gestionnaire2.37.1
gestionnaire mis à jour2026-07-21
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:direnv
Version2.37.1
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://direnv.net/
Dépôthttps://github.com/direnv/direnv
Dernière mise à jour2026-07-21T09:31:34-04:00
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

direnv 2.32.1-2+b16

Utility to set directory specific environment variables

http://direnv.net/

sudo apt install direnv
  • Section: utils
  • Architecture: amd64
  • Source Package: direnv
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Direnv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: direnv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

direnv

nix profile install nixpkgs#direnv
  • normalized package name match
  • Correspondance par : Direnv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/di/direnv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

direnv 2.32.1-2build1

Utility to set directory specific environment variables

http://direnv.net/

sudo apt install direnv
  • Section: universe/utils
  • Architecture: amd64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Direnv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: direnv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

direnv 2.37.1-r8

Environment variable switcher for the shell

https://direnv.net

sudo apk add direnv
  • License: MIT
  • Architecture: x86_64
  • Source Package: direnv
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Direnv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: direnv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

direnv-doc 2.37.1-r8

Environment variable switcher for the shell (documentation)

https://direnv.net

sudo apk add direnv-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: direnv
  • normalized package name match
  • Correspondance par : Direnv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: direnv-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

direnv-fish 2.37.1-r8

configuration hooks for fish

https://direnv.net

sudo apk add direnv-fish
  • License: MIT
  • Architecture: x86_64
  • Source Package: direnv
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Direnv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: direnv-fish from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

direnv 2.37.1-7.fc45

Per-directory shell configuration tool

https://github.com/direnv/direnv

sudo dnf install direnv
  • License: BSD-3-Clause AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: direnv
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Direnv
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: direnv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

direnv 2.37.1-1

A shell extension that manages your environment

https://direnv.net

sudo pacman -S direnv
  • License: MIT
  • Architecture: x86_64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Direnv
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: direnv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

direnv 2.37.1-1.7

Environment switcher for shells

https://direnv.net/

sudo zypper install direnv
  • License: MIT
  • Category: Productivity/File utilities
  • Architecture: x86_64
  • Source Package: direnv
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Direnv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: direnv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

direnv-bash-completion 2.37.1-1.7

Bash Completion for direnv

https://direnv.net/

sudo zypper install direnv-bash-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: direnv
  • 2 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Direnv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: direnv-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

direnv-fish-completion 2.37.1-1.7

Fish Completion for direnv

https://direnv.net/

sudo zypper install direnv-fish-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: direnv
  • 2 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Direnv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: direnv-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

direnv-zsh-completion 2.37.1-1.7

Zsh Completion for direnv

https://direnv.net/

sudo zypper install direnv-zsh-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: direnv
  • 2 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Direnv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: direnv-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

direnv

sudo port install direnv
  • normalized package name match
  • Correspondance par : Direnv
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/direnv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/direnv

scoop install main/direnv
  • normalized package name match
  • Correspondance par : Direnv
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/direnv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

direnv.direnv

winget install --id direnv.direnv -e
  • normalized package name match
  • Correspondance par : Direnv
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: direnv.direnv from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation