# What's the best way to blow away the ~/.julia directory?

**URL:** <https://discourse.julialang.org/t/whats-the-best-way-to-blow-away-the-julia-directory/13470>\
**Category:** General Usage\
**Tags:** pkg\
**Created:** [August 14, 2018, 9:34pm UTC](https://discourse.julialang.org/t/whats-the-best-way-to-blow-away-the-julia-directory/13470 "2018-08-14T21:34:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NHDaly](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nhdaly/32/1413_2.png) [@NHDaly](https://discourse.julialang.org/u/NHDaly)\
**Post date:** [August 14, 2018, 9:34pm UTC](https://discourse.julialang.org/t/whats-the-best-way-to-blow-away-the-julia-directory/13470/1 "2018-08-14T21:34:03Z")

</div>

I was told that there is something “wrong with my Manifest.” Two questions:

1. What all would I need to delete to _clear out_ all Pkg related files for julia `1.0` or `0.7`? (Ideally, just for one and not the other.)

2. Or, conversely, is there anything I _shouldn’t_ delete if I just want to blow it all away and start again?

Some things I can think of that I would want to keep:

- ~/.julia/0.6
- ~/.julia/0.5
- ~/.julia/config
- ~/.julia/logs/repl\_history.jl
- anything else?

Is the best way to proceed to just delete everything except for the above list?

Relatedly, is there any reason that Pkg3 doesn’t put all the cool new directories below something like ~/.julia/0.7 or ~/.julia/1.0? What’s the motivation for mixing the 0.7 and 1.0 installed stuff? 🙂 Thanks!

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [August 14, 2018, 9:36pm UTC](https://discourse.julialang.org/t/whats-the-best-way-to-blow-away-the-julia-directory/13470/2 "2018-08-14T21:36:25Z")

</div>

> [@NHDaly](#):
>
> Relatedly, is there any reason that Pkg3 doesn’t put all the cool new directories below something like ~/.julia/0.7 or ~/.julia/1.0?

It does, `.julia/environments/v1.0` etc.

`.julia/packages` and `.julia/clones` are julia version agnostic, they can be seen as a cache and the julia version currently running has no relevance regarding their validity.

---

<div class="post-metadata">

**Author:** ![NHDaly](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nhdaly/32/1413_2.png) [@NHDaly](https://discourse.julialang.org/u/NHDaly)\
**Post date:** [August 14, 2018, 9:50pm UTC](https://discourse.julialang.org/t/whats-the-best-way-to-blow-away-the-julia-directory/13470/3 "2018-08-14T21:50:14Z")

</div>

Ah, thanks for clarifying that. i should’ve done a better job digging in to all the directories.

So is the only thing I’d need to delete just that then? `.julia/environments/v1.0`?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [August 14, 2018, 9:53pm UTC](https://discourse.julialang.org/t/whats-the-best-way-to-blow-away-the-julia-directory/13470/4 "2018-08-14T21:53:57Z")

</div>

If you want to reset your environment, yes.

---

<div class="post-metadata">

**Author:** ![NHDaly](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nhdaly/32/1413_2.png) [@NHDaly](https://discourse.julialang.org/u/NHDaly)\
**Post date:** [August 14, 2018, 10:54pm UTC](https://discourse.julialang.org/t/whats-the-best-way-to-blow-away-the-julia-directory/13470/5 "2018-08-14T22:54:19Z")

</div>

Thanks
