pkg.soopen package index

brew / rank 5690

Install shadowenv with Homebrew, Nix

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

Additional install commands

macOS

Homebrewverified · 100%
brew install shadowenv

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#shadowenv

nixpkgs package indexes · pkgs/by-name/sh/shadowenv/package.nix · source: api.github.com

overview

Package summary

Reversible directory-local environment variable manipulations

Commands and aliases

  • shadowenv

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2019: The documented build process used the Rust nightly toolchain dated 2018-12-26, reflecting the project's early Rust implementation.
  • Public project era: Shopify published Shadowenv's source and documentation for external use.

Related projects

  • Shadowenv belongs to the broader family of directory-local development-environment tools and shell hooks. Its official documentation also describes editor integrations and Shopify's internal `dev` tooling.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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
.shadowenv.d/*.lisp

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/shadowenv/trust-key

executables

Installed executables

CommandKindExposureNote
shadowenvcliglobal executable

freshness

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

page generated2026-09-19
manager version3.5.1
manager updated2026-09-14
local dataok
upstreamcurrent
latest detected3.5.1

https://github.com/Shopify/shadowenv

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:shadowenv
Version3.5.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/shadowenv
Homepagehttps://shopify.github.io/shadowenv/
Repositoryhttps://github.com/Shopify/shadowenv
Upstream docshttps://shopify.github.io/shadowenv/
LicenseMIT
Source archivehttps://github.com/Shopify/shadowenv/archive/refs/tags/3.5.1.tar.gz
Last updated2026-09-14T12:21:27+02:00
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameshadowenv
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

shadowenv

nix profile install nixpkgs#shadowenv
  • normalized package name match
  • Matched by: Shadowenv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sh/shadowenv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation