# envchain を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:envchain
```

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

### macOS

- Homebrew (100%):

```sh
brew install envchain
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#envchain
```

  証拠: nixpkgs package indexes: pkgs/by-name/en/envchain/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:envchain
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.0
- **ソース概要:** Secure your credentials in environment variables
- **ホームページ:** <https://github.com/sorah/envchain>
- **リポジトリ:** <https://github.com/sorah/envchain>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- envchain (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1.0
## プロジェクトの歴史と使われ方

envchain is a security-focused CLI for storing secret environment variables in the macOS Keychain or a D-Bus Secret Service provider, then exposing them only for explicitly launched commands.

### プロジェクトの歴史

The README positions envchain as a response to the common practice of putting credentials such as AWS access keys in shell initialization files. Instead of writing those secrets to `.bashrc` or `.zshrc`, envchain stores them in a secure vault under namespaced entries.

The project supports macOS Keychain and Linux Secret Service backends such as GNOME Keyring and KeePassXC. Its documented platform requirements include macOS versions from the OS X era and Linux systems with readline, libsecret, and D-Bus Secret Service support.

### 採用の歴史

envchain is a niche but established package-manager tool. Its README documents Homebrew installation, and Homebrew formula analytics showed hundreds of annual installs during this enrichment run. The input package facts also list Nix packaging.

### 使われ方

Users create a namespace with `envchain --set NAMESPACE ENV ...`, enter secret values interactively, and then run commands as `envchain namespace command`. The tool injects only the variables from the requested namespace into that child process.

Multiple namespaces can be combined, which supports workflows such as separating AWS credentials from chatbot or service credentials while still composing them for a particular command.

### パッケージ好きにとっての重要性

envchain is part of a family of small Unix secret-handling wrappers that try to make environment variables less dangerous without changing the tools that consume them. Its package value is in bridging native desktop secret stores with ordinary CLI workflows.

### タイムライン

- 2010s: envchain documents OS X Keychain support and later Linux Secret Service support.
- 2010s: Homebrew installation is documented in the upstream README.
- 2020s: The tool remains packaged as a small credential wrapper for macOS and Linux.

### Related projects

- envchain relates to macOS Keychain, GNOME Keyring, KeePassXC, libsecret, and the D-Bus Secret Service specification.
- It overlaps with dotenv-style workflows, but stores values in platform secret stores rather than in project files.

### ソース

- <https://github.com/sorah/envchain/blob/master/README.md>
- <https://formulae.brew.sh/formula/envchain>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Nix - envchain: normalized package name match | nixpkgs package indexes: pkgs/by-name/en/envchain/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/envchain.yml](https://github.com/mxcl/pkgdb/blob/main/combined/envchain.yml)


## ソース

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