# Juliaup: remove old versions?

**URL:** <https://discourse.julialang.org/t/juliaup-remove-old-versions/109799>\
**Category:** Tooling\
**Tags:** question, juliaup\
**Created:** [February 6, 2024, 12:55pm UTC](https://discourse.julialang.org/t/juliaup-remove-old-versions/109799 "2024-02-06T12:55:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryofurue](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ryofurue/32/24531_2.png) [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Post date:** [February 6, 2024, 12:55pm UTC](https://discourse.julialang.org/t/juliaup-remove-old-versions/109799/1 "2024-02-06T12:55:58Z")

</div>

I’ve been using `juliaup` and keeping updating. I think I’ve subscribed to the “release” channel. Now my `~/.julia/compiled/` includes several versions:

```sh
$ cd ~/.julia/compiled/
$ du -skh *
 60M	v1.6
181M	v1.7
970M	v1.8
3.7G	v1.9
280M	v1.10
$

```

My question is, how to remove the older versions? I tried something like `juliaup remove 1.6` but these didn’t work:

```sh
$ juliaup remove 1.6
Error: '1.6' cannot be removed because it is currently not installed.
$

```

```sh
$ juliaup status
 Default Channel Version Update
-----------------------------------------------------------
       * release 1.10.0+0.aarch64.apple.darwin14
$

```

macOS 14.3 ; I’ve obtained `juliaup` from Homebrew.

---

<div class="post-metadata">

**Author:** ![lrnv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lrnv/32/19373_2.png) [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Post date:** [February 6, 2024, 1:13pm UTC](https://discourse.julialang.org/t/juliaup-remove-old-versions/109799/2 "2024-02-06T13:13:18Z")

</div>

Julia 1.6 (and others) are simply not installed on your system. The compiled folder is only full of compilation artifacts that can olways be reproduced from scratch, you can safely delete them if you want (they might take some space indeed).

You can even delete the 1.10 folder, although you might have to wait for stuff to recompile next time you load a julia environnement.

---

<div class="post-metadata">

**Author:** ![ryofurue](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ryofurue/32/24531_2.png) [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Post date:** [February 6, 2024, 3:10pm UTC](https://discourse.julialang.org/t/juliaup-remove-old-versions/109799/3 "2024-02-06T15:10:28Z")

</div>

> [@lrnv](#):
>
> You can even delete the 1.10 folder, although you might have to wait for stuff to recompile next time you load a julia environnement.

Oh, I see! Those files are what’s usually called “cache”! You delete them and they will be generated if/as necessary.

Thanks!
