# How to completely reinstall Julia on Mac

**URL:** https://discourse.julialang.org/t/how-to-completely-reinstall-julia-on-mac/107924
**Category:** New to Julia
**Created:** [December 21, 2023, 7:58pm UTC](https://discourse.julialang.org/t/how-to-completely-reinstall-julia-on-mac/107924 "2023-12-21T19:58:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Midez](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Midez](https://discourse.julialang.org/u/Midez)
#### Post date: [December 21, 2023, 7:58pm UTC](https://discourse.julialang.org/t/how-to-completely-reinstall-julia-on-mac/107924/1 "2023-12-21T19:58:08Z")

</div>

Hello everyone,

somehow I managed to render Julia completely useless on My Mac (it happened when I tried to update Julia to a newer version via this [thread](https://stackoverflow.com/questions/30555225/how-to-upgrade-julia-to-a-new-release))

Now every time I try to work with Julia I get the error message

```julia
ERROR: expected package `...` to be registered

```

It’s a package that I installed with git and that is not official and that I urgently need for my work.

Hence I want to completely reinstall Julia. But just by uninstalling the app in my applications there is some part of Julia left.

This is noticeable in the fact, that when I download and open the newer Julia version, I still find the same REPL history and of course I get the the same ERROR message.

**That’s why I ask you:** how to completely get rid of Julia (all startup and history files, that I didn’t seem to find) ?

---

<div class="post-metadata">

### Author: ![Midez](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Midez](https://discourse.julialang.org/u/Midez)
#### Post date: [December 21, 2023, 8:14pm UTC](https://discourse.julialang.org/t/how-to-completely-reinstall-julia-on-mac/107924/2 "2023-12-21T20:14:37Z")

</div>

Alright, as it is so often I probably found the solution directly after posting the question even if I spend hours before trying to find a solution.

I just clicked on the menu bar - go to folder - and typed - /Users/…/.julia

by removing all the content **in this folder** (that I can’t find with finder) Julia  
seems to be completely blank.

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [December 22, 2023, 12:42am UTC](https://discourse.julialang.org/t/how-to-completely-reinstall-julia-on-mac/107924/3 "2023-12-22T00:42:44Z")

</div>

If you download the .tar.gz archive ( [julia-1.9.4-macaarch64.tar.gz](https://julialang-s3.julialang.org/bin/mac/aarch64/1.9/julia-1.9.4-macaarch64.tar.gz)), you can expand it anywhere. Then create a script that will set the PATH and export the DEPOT path (a la [VSCode\_Julia\_portable/assets/install.sh at 689fcb996cff4cb858b88e37fe641f2b99816e8b · PetrKryslUCSD/VSCode\_Julia\_portable · GitHub](https://github.com/PetrKryslUCSD/VSCode_Julia_portable/blob/689fcb996cff4cb858b88e37fe641f2b99816e8b/assets/install.sh#L49), and [VSCode\_Julia\_portable/assets/install.sh at 689fcb996cff4cb858b88e37fe641f2b99816e8b · PetrKryslUCSD/VSCode\_Julia\_portable · GitHub](https://github.com/PetrKryslUCSD/VSCode_Julia_portable/blob/689fcb996cff4cb858b88e37fe641f2b99816e8b/assets/install.sh#L34)). And, voila, you have a “portable” Julia on your Mac. No toes have been stepped on in the process.

---

<div class="post-metadata">

### Author: ![Midez](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Midez](https://discourse.julialang.org/u/Midez)
#### Post date: [December 22, 2023, 1:52am UTC](https://discourse.julialang.org/t/how-to-completely-reinstall-julia-on-mac/107924/4 "2023-12-22T01:52:30Z")

</div>

Yea, thanks I am sure this will work theoretically 😉 Since my Julia is now running without problems I‘ll let it for now.
