# High view description of the folders in .julia?

**URL:** <https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506>\
**Category:** General Usage\
**Tags:** faq\
**Created:** [February 6, 2019, 2:44pm UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506 "2019-02-06T14:44:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [February 6, 2019, 2:44pm UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/1 "2019-02-06T14:44:41Z")

</div>

Hello, where can I find a discussion, possibly user-centered, about the folders inside .jullia ?

I have the following folders:

- clones
- compiled
- conda
- dev
- environments
- logs
- packages
- prefs
- registries

What’s the role of this folders ? What if I want to reset all the packages in one specific versions of Julia (I saw that “environments” keeps only an index of packages not the packages themselves)

---

<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:** [February 6, 2019, 2:58pm UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/2 "2019-02-06T14:58:23Z")

</div>

> [@sylvaticus](#):
>
> clones

Full clones of package repos, basically a cache, maintained by `Pkg`.

> [@sylvaticus](#):
>
> compiled

Precompile `*.ji` files for packages.

> [@sylvaticus](#):
>
> conda

Directory created and maintained by [GitHub - JuliaPy/Conda.jl: Conda managing Julia binary dependencies](https://github.com/JuliaPy/Conda.jl).

> [@sylvaticus](#):
>
> dev

Default directory used when you `Pkg.develop` a package.

> [@sylvaticus](#):
>
> environments

Default package environments, like `v1.0`, `v1.1`.

> [@sylvaticus](#):
>
> logs

REPL history, and some Pkg/Manifest usage.

> [@sylvaticus](#):
>
> packages

Packages, maintained by Pkg, don’t touch.

> [@sylvaticus](#):
>
> prefs

Some config for [GitHub - JuliaLang/IJulia.jl: Julia kernel for Jupyter](https://github.com/JuliaLang/IJulia.jl).

> [@sylvaticus](#):
>
> registries

Package registries.

> [@sylvaticus](#):
>
> What if I want to reset all the packages in one specific versions of Julia?

Not sure what you mean with this.

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [February 6, 2019, 3:08pm UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/3 "2019-02-06T15:08:09Z")

</div>

Thank you for your very quick reply.  
I mean that, at least with the previous versions, sometimes the whole environment was becoming a mess for package compatibilities and a quick way to come out was to start fresh and remove the packages of a specific version, that were all inside that version folder.

If I’ll want ever to reset a specific Julia version, what should I do now? Just remove the index from environments/vX.Y ?

---

<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:** [February 6, 2019, 3:09pm UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/4 "2019-02-06T15:09:57Z")

</div>

> [@sylvaticus](#):
>
> If I’ll want ever to reset a specific Julia version, what should I do now? Just remove the index from environments/vX.Y ?

Yea, removing the index files (`Project.toml` and `Manifest.toml`) for that environment should do what you want.

---

<div class="post-metadata">

**Author:** ![chakravala](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chakravala/32/6832_2.png) [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Post date:** [February 6, 2019, 5:32pm UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/5 "2019-02-06T17:32:51Z")

</div>

> [@sylvaticus](#):
>
> I mean that, at least with the previous versions, sometimes the whole environment was becoming a mess for package compatibilities and a quick way to come out was to start fresh and remove the packages of a specific version, that were all inside that version folder.

You can use `pkg> gc` to clean up unused versions of packages, if thats what you need.

---

<div class="post-metadata">

**Author:** ![non-Jedi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/non-jedi/32/3645_2.png) [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Post date:** [February 6, 2019, 9:14pm UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/6 "2019-02-06T21:14:50Z")

</div>

What about the `.cache` directory? It’s a full GiB on my system, bigger than even `packages`.

---

<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:** [February 7, 2019, 7:44pm UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/7 "2019-02-07T19:44:32Z")

</div>

> [@non-Jedi](#):
>
> What about the `.cache` directory?

I think that is from the old package manager.

---

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [July 13, 2020, 6:55am UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/8 "2020-07-13T06:55:04Z")

</div>

Thanks for this great overview. Is there such an overview in the docs somewhere? If not I would be willing to turn your answer into a PR. Just not sure where, Julia or Pkg.jl?

---

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [July 14, 2020, 4:39am UTC](https://discourse.julialang.org/t/high-view-description-of-the-folders-in-julia/20506/9 "2020-07-14T04:39:06Z")

</div>

[https://github.com/JuliaLang/julia/pull/36635](https://github.com/JuliaLang/julia/pull/36635)
