Mac O’Clock
Published in

Mac O’Clock

How to Clean Your Disk for Free Space

If you do iOS, Android and React Native development on your Mac, chances are you are easily using up your 256GB of storage space with various caches.

  • ~/.yarn and ~/Library/Caches/Yarn — Yarn cache
  • ~/.gradle — Gradle cache
  • ~/.m2 — Maven cache
  • ~/.cocoapods and ~/Library/Caches/CocoaPods — CocoaPods cache
  • ~/.nvm — Node Version Manager cache
  • ~/.android — Android cache
  • ~/Library/Caches/Homebrew/downloads — Homebrew cache
  • ~/Library/Developer/Xcode — Xcode cache
  • ~/Library/Developer/CoreSimulator — iOS Simulator cache
  • android/app/build — Just rebuild the Android app when needed
  • pod install in your project’s iOS directory
  • .gradlew build in your project’s Android

--

--

The best stories for Apple owners and enthusiasts

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Param Aggarwal

Software guy. When you try to tell computers what to do, you eventually learn about human nature as well. (http://paramaggarwal.com)