Is it safe to delete Julia compiled cache?

~/.julia/compiled · Safe to delete

What it is

Precompiled Julia packages.

Can you delete it?

Yes, it is rebuilt automatically. Julia precompiles again when a package loads.

How to clean it safely

  1. Delete the folder.
  2. Run Pkg.gc() inside Julia to remove unused package versions.

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/".julia/compiled" 2>/dev/null

Step-by-step guide: Developer caches on a Mac →

Questions

Is it safe to delete ~/.julia/compiled?

Yes, it is rebuilt automatically. Julia precompiles again when a package loads.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac