pkg.soopen package index

brew / 順位 355

direnv を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

direnv のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install direnv

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install direnv

MacPorts ports tree · devel/direnv/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add direnv

Alpine Linux edge package indexes · direnv · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install direnv

Debian stable package indexes · direnv · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install direnv

Fedora Rawhide package metadata · direnv · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#direnv

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

Arch Linux pacman確認済み · 92%
sudo pacman -S direnv

Arch Linux sync databases · direnv · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install direnv

openSUSE Tumbleweed package metadata · direnv · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/direnv

Scoop official bucket manifest trees · bucket/direnv.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id direnv.direnv -e

Windows Package Manager source index · direnv.direnv · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Load/unload environment variables based on $PWD

コマンドとエイリアス

  • direnv

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
direnv実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版2.37.1
マネージャ更新日2026-07-21
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:direnv
バージョン2.37.1
パッケージマネージャHomebrew
ホームページhttps://direnv.net/
リポジトリhttps://github.com/direnv/direnv
最終更新2026-07-21T09:31:34-04:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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