macOS
brew install shadowenvlocal Homebrew formula metadata
brew / rank 5690
Reversible directory-local environment variable manipulations. Version 3.5.1 via Homebrew; verified 2026-09-14. Also installable with nix: nix profile install nixpkgs#shadowenv.
install
brew install shadowenvlocal Homebrew formula metadata
nix profile install nixpkgs#shadowenvnixpkgs package indexes · pkgs/by-name/sh/shadowenv/package.nix · source: api.github.com
overview
Reversible directory-local environment variable manipulations
history
Shadowenv is Shopify's reversible directory-local environment manager. Trusted Shadowlisp files modify environment variables when a user enters a project and the previous values are restored when the user leaves.
Shopify developed Shadowenv as a project-local environment-variable shadowing tool. It scans a directory and its ancestors for `.shadowenv.d` directories, evaluates trusted Shadowlisp programs, applies their environment changes on entry, and restores the prior environment on exit.
The official documentation describes use at Shopify and installation through Homebrew on macOS. Its documented integrations and non-interactive `shadowenv exec` mode extend the same directory-local environment model beyond interactive shells.
Users install a shell hook for Bash, Zsh, or Fish, place numbered `.lisp` programs under `.shadowenv.d`, and run `shadowenv trust` before loading them. `shadowenv exec -- <command>` applies the environment to non-interactive commands.
Shadowenv occupies the same package-nerd niche as directory-aware environment tools while emphasizing reversibility and explicit trust. Its small Shadowlisp programs make environment changes composable, and its signature-based trust mechanism addresses the risk of executing project-local code merely by changing directories.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
.shadowenv.d/*.lispCredential-bearing paths to review before unattended agent runs.
~/.config/shadowenv/trust-keyexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
shadowenv | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Shopify/shadowenv
install metadata
| Package key | brew:shadowenv |
|---|---|
| Version | 3.5.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/shadowenv |
| Homepage | https://shopify.github.io/shadowenv/ |
| Repository | https://github.com/Shopify/shadowenv |
| Upstream docs | https://shopify.github.io/shadowenv/ |
| License | MIT |
| Source archive | https://github.com/Shopify/shadowenv/archive/refs/tags/3.5.1.tar.gz |
| Last updated | 2026-09-14T12:21:27+02:00 |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | shadowenv |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
shadowenv
nix profile install nixpkgs#shadowenvsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.