shadowenv
« Back to VersTracker
Description:
Reversible directory-local environment variable manipulations
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: environment developer-tools shell productivity
Install: brew install shadowenv
About:
Shadowenv allows developers to define environment variable changes in a directory-specific manner that are automatically applied when entering a directory and reversed when leaving. It uses a lightweight Lisp-like syntax to manage environment modifications, ensuring that project-specific configurations do not leak into other shell sessions. This provides a safe, reversible alternative to manually sourcing scripts or modifying global shell profiles.
Key Features:
  • Reversible environment changes that automatically undo when changing directories
  • Lightweight and fast execution with minimal shell overhead
  • Declarative configuration using a simple Lisp-like syntax
  • Safe and predictable behavior without modifying global shell state
Use Cases:
  • Managing project-specific environment variables like API keys or build flags
  • Switching between different Ruby or Node.js versions per project
  • Setting up local development configurations without polluting the global shell
Alternatives:
  • direnv – direnv uses .envrc files and is more widely adopted, but Shadowenv offers a more explicit and reversible approach with its Lisp-like DSL
Version History
Detected Version Rev Change Commit
Sep 14, 2025 4:30am 0 VERSION_BUMP ee044b0c
Oct 28, 2024 6:10pm 0 VERSION_BUMP 5fc41d38
Sep 14, 2024 6:45pm 0 VERSION_BUMP b4bffe01