# Environment and PackageCompiler.jl

**URL:** <https://discourse.julialang.org/t/environment-and-packagecompiler-jl/46761>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [September 17, 2020, 8:53am UTC](https://discourse.julialang.org/t/environment-and-packagecompiler-jl/46761 "2020-09-17T08:53:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iHany](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihany/32/18151_2.png) [@iHany](https://discourse.julialang.org/u/iHany)\
**Post date:** [September 17, 2020, 8:53am UTC](https://discourse.julialang.org/t/environment-and-packagecompiler-jl/46761/1 "2020-09-17T08:53:10Z")

</div>

Is `PackageCompiler.jl` works depending on which environment is activated?  
For example, precompiling package `A.jl` at default env. with `replace_default=true` option would not affect the same package `A.jl` in different env.?
