From the README:
StackEnvs provides tools for minimal management of a shared environment that is meant to be used from your “stacked environment” but never to be active itself.
This is useful if you are developing a package and want to use some other packages without polluting any environment.
It is meant to be used in a script that you include when, for example, developing a particular package, and want some other particular
packages to be available.
using StackEnvs
env = StackEnv("my_env", ["PackA", "PackB"])
ensure_in_stack(env)
or more simply,
using StackEnvs
ensure_in_stack("my_env", ["PackA", "PackB"])
After including the script, you can immediately using PackA.
StackEnvs.jl is similar to the recently registered ShareAdd.jl