envstack

Environment variable composition and activation layer for tools and processes.

export ENVPATH=studio/base:show/foo:tool/nuke/14
envstack -- nuke

Why envstack

envstack is a lightweight CLI and Python library for composing, tracing, exporting, and reproducing environment variables using a PATH-like model called ENVPATH.

Compose

  • Hierarchical environment layers
  • PATH-like precedence
  • Cross-platform

Explain

  • Trace variable origins
  • Debug overrides
  • Deterministic resolution

Export

  • Bake resolved environments
  • Export to bash / tcsh / cmd
  • Reproduce exactly

ENVPATH

ENVPATH defines where environment fragments are discovered and in what order they apply — just like PATH, but for full environments.

export ENVPATH=prod/base:prod/show/foo:prod/tools/nuke14
envstack -- nuke
envstack is not:

It is intentionally boring: explicit inputs, deterministic outputs, and tooling that tells you what it did.

Install

pip install envstack