
MacOptimize: A free bash CLI to keep your Mac fast during heavy dev workloads
The Problem Running Xcode, Android emulator, local AI models, and a dozen browser tabs simultaneously on Apple Silicon is brutal on RAM. My M1 Pro was constantly hitting 3-4GB swap, thermal throttling mid-build, and I had no quick way to diagnose what was happening. The Solution I built macoptimize — a single bash script, zero dependencies, that gives you instant visibility and control over your Mac's performance. Install curl -fsSL https://raw.githubusercontent.com/Ammroid/macoptimize/main/install.sh | bash Commands Commands: status CPU, RAM, swap, disk, thermal — color coded hogs processes >20% CPU or >5% RAM monitor live dashboard (3s refresh) clean interactive cleanup for Xcode/Gradle/Docker/npm caches optimize Spotlight, Time Machine, DNS, animation tweaks quick one-shot safe cleanup dev developer env health (Android, iOS, Node, AI tools) kill-devservers kill orphaned webpack/vite/metro/expo servers all full report Real Output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ System Health Report ━━━
Continue reading on Dev.to
Opens in a new tab

