# Installer envchain avec Homebrew, Nix

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

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install envchain
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Faits du paquet

- **Clé du paquet:** brew:envchain
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.1.0
- **Résumé source:** Secure your credentials in environment variables
- **Page d'accueil:** <https://github.com/sorah/envchain>
- **Dépôt:** <https://github.com/sorah/envchain>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- envchain (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.1.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

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

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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)


## Sources

- 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
