# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/envchain>
- **バージョン:** 1.1.0
- **ソース概要:** Secure your credentials in environment variables
- **ホームページ:** <https://github.com/sorah/envchain>
- **リポジトリ:** <https://github.com/sorah/envchain>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/sorah/envchain/archive/refs/tags/v1.1.0.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- envchain (cli)
- envchain (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.1.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/sorah/envchain
- 検出された最新: v1.1.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** envchain
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/ja/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [doppler](https://pkg.so/ja/brew/doppler/) - Shares pkgdb curated category or tags: cli, environment-variables, secrets-management, security.
- [credstash](https://pkg.so/ja/brew/credstash/) - Shares pkgdb curated category or tags: cli, credentials, secrets-management, security.
- [envio](https://pkg.so/ja/brew/envio/) - Shares pkgdb curated category or tags: cli, environment-variables, secrets-management, security.
- [libsecret](https://pkg.so/ja/brew/libsecret/) - Shares pkgdb curated category or tags: cli, credentials, secret-service, security.
- [aws-vault](https://pkg.so/ja/brew/aws-vault/) - Shares pkgdb curated category or tags: cli, credentials, keychain, security.
- [openbao](https://pkg.so/ja/brew/openbao/) - Shares pkgdb curated category or tags: cli, secrets-management, security.
- [secretspec](https://pkg.so/ja/brew/secretspec/) - Shares pkgdb curated category or tags: cli, secrets-management, security.
- [ksops](https://pkg.so/ja/brew/ksops/) - Shares pkgdb curated category or tags: cli, secrets-management, security.
- [ripsecrets](https://pkg.so/ja/brew/ripsecrets/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, management, secret, secrets, secrets-management.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
