Safe to Delete

Scala SBT & Ivy Dependency Cache (~/.ivy2/cache)

Quick Answer: The Ivy2 cache stores compiled Scala JAR dependencies and SBT build artifacts. Clearing it is safe.

Bottom Line: It is 100% safe to clear ~/.ivy2/cache. The Scala Build Tool (SBT) and Apache Ivy store downloaded JAR dependencies in this folder.


What is the Ivy2 Cache?

Located at ~/.ivy2/cache and ~/.sbt/boot, Scala and Java projects using SBT download dependency JARs into Apache Ivy cache repositories.


Can You Delete Ivy Cache?

✅ Yes, safe to delete.

  • Running sbt compile will re-download required dependencies into a fresh cache.

How to Clean Up Ivy Cache

rm -rf ~/.ivy2/cache/*

Discussion

Loading authentication...

Related in developer

The AI Engineer's Model Disk Cleanup Guide: Hugging Face, Ollama & PyTorch

The ultimate 1,200-word field guide for AI developers and local LLM hobbyists to reclaim 200GB+ from Ollama, Hugging Face, PyTorch, and vLLM model weights.

Safe to Delete

Android Studio System Index Cache (AndroidStudio Cache)

Android Studio caches Gradle project indexes, VFS caches, and compiler artifacts. Invalidate and clear is safe.

Safe to Delete

Ansible Automation Temp & Fact Cache (~/.ansible/tmp)

Ansible stores temporary playbook execution modules and target host fact JSON caches in ~/.ansible/tmp. Clearing Ansible tmp is safe.

Safe to Delete
Back to all files