# Creating empty isolated environment

**URL:** <https://discourse.julialang.org/t/creating-empty-isolated-environment/22183>\
**Category:** New to Julia\
**Tags:** pkg, environment\
**Created:** [March 22, 2019, 7:39am UTC](https://discourse.julialang.org/t/creating-empty-isolated-environment/22183 "2019-03-22T07:39:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [March 22, 2019, 9:14am UTC](https://discourse.julialang.org/t/creating-empty-isolated-environment/22183/5 "2019-03-22T09:14:48Z")

</div>

It would be good to document those things in the Pkg manual too. Do you want to contribute with that?

> [@aplavin](#):
>
> And how do I set `LOAD_PATH` without env variables, that is from inside julia? Do I really have to delete elements which are not “@” one by one, as it seems impossible to assign the whole array?

You can do e.g. this:

```julia-auto
empty!(LOAD_PATH)
push!(LOAD_PATH, "@")

```

---

_[View the full topic](https://discourse.julialang.org/t/creating-empty-isolated-environment/22183)._
