npm, Yarn and pnpm caches: where they live and how to clean them
Each JavaScript package manager keeps its own download cache. Here is how to find each one and what clearing it costs.
What’s safe to remove, what isn’t, and how macOS storage works.
Each JavaScript package manager keeps its own download cache. Here is how to find each one and what clearing it costs.
The .m2 folder is a hidden folder in your home directory. Here is what is inside it, how to see its size and what is safe to remove.
Both dependency tools keep downloaded copies on your Mac. Here is where they are, and what is safe to remove.
Swift packages are cached in a few places depending on whether you use Xcode or the command line. Here is where, and what is safe to clear.
Simulators can take tens of gigabytes. Here is the difference between runtimes and devices, and what you lose by removing each.
Containers hold app data, not caches. Consider removal only when all consumers are removed, retained data is inspected, and wanted data is exported and backed up.