Skip to content

Instantly share code, notes, and snippets.

@navhaxs
Last active June 1, 2021 02:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save navhaxs/1e29babe6a99662000819bdcb4a5d796 to your computer and use it in GitHub Desktop.
Mac disk cleanup

Mac disk cleanup, because updating Xcode from the App Store needs at least 40GB of free disk space:

rm -rf $(brew --cache)

rm -fr ~/Library/Caches/com.spotify.client

http://hboon.com/iosdevnuggets/ios-dev-nugget-162-reclaim-disk-space-from-xcode-usage/

rm -rf ~/Library/Developer/Xcode/DerivedData/

rm -rf ~/Library/Developer/Xcode/iOS DeviceSupport/
yarn cache clean
rm -rf ~/.m2/repository

Takes about 3 mins

brew uninstall osgeo-*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment