# Ok to nuke the Pkg .cache directory?

**URL:** <https://discourse.julialang.org/t/ok-to-nuke-the-pkg-cache-directory/10805>\
**Category:** General Usage\
**Created:** [May 9, 2018, 7:58pm UTC](https://discourse.julialang.org/t/ok-to-nuke-the-pkg-cache-directory/10805 "2018-05-09T19:58:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![djsegal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/djsegal/32/13752_2.png) [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Post date:** [May 10, 2018, 1:11am UTC](https://discourse.julialang.org/t/ok-to-nuke-the-pkg-cache-directory/10805/2 "2018-05-10T01:11:44Z")

</div>

Check this out. Might have used the word `nuclear`, too 😛

> [@How do you clear cache from a \_\_precompile\_\_()?](https://discourse.julialang.org/t/how-do-you-clear-cache-from-a-precompile/7821/3):
>
> Just thought I’d put the nuclear option here too: map(x-\>map(rm, Base.find\_all\_in\_cache\_path(Symbol(x))), keys(Pkg.installed()))

---

_[View the full topic](https://discourse.julialang.org/t/ok-to-nuke-the-pkg-cache-directory/10805)._
