I Made a Mistake Installing vLLM on My Mac. My Disk Thanked Me for It.

· Source: LLM on Medium · Field: Technology & Digital — Software Development & Engineering, Artificial Intelligence & Machine Learning · Depth: Intermediate, medium

Summary

A developer attempting to install vLLM on an M2 MacBook unexpectedly recovered 37 GB of disk space after encountering low storage issues. Initially, the installation failed due to platform incompatibility, as the commands were for Linux x86, not Apple Silicon. With only 2.2 GB free on a 228 GB disk, the developer investigated the `~/Library` folder, which contained 59 GB of data. Standard cleanup methods yielded only 3-4 GB. Deeper investigation revealed significant storage consumption by iOS simulators (18 GB), Claude desktop app VM bundles (9.2 GB), old Xcode archives (3.0 GB), and various application update caches. Targeted commands like `xcrun simctl delete unavailable` and manual deletion of specific directories led to the substantial recovery, increasing free space from 10 GB to 47 GB.

Key takeaway

For macOS developers struggling with disk space, your `~/Library` folder is likely a hidden culprit. You should prioritize checking and clearing developer-specific caches like old iOS simulators, Xcode archives, and large AI desktop app VM bundles. This targeted approach will yield far more significant storage recovery than generic cache clearing, ensuring you have ample space for new tools and projects.

Key insights

Developers can recover significant macOS disk space by targeting hidden, application-specific caches.

Principles

Method

Identify large developer-specific directories in `~/Library`, such as `CoreSimulator`, `Application Support`, and `Xcode/Archives`, then use targeted commands or manual deletion to clear outdated files.

In practice

Topics

Code references

Best for: Software Engineer, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by LLM on Medium.