If you're using your macOS machine for Android, Apple or Web application development and you're running low on storage, here are some tips to help you free up some gigabytes:
- Delete build directories by running find . -type d -name build -exec rm -rf {} \; in the parent directory which contains your development projects.
- Delete node_modules directories by running find . -type d -name node_modules -exec rm -rf {} \; in the parent folder which contains your development projects.
- Delete old, unused SDK Platforms and SDK Tools via the SDK Manager in Android Studio.
- Delete old, unneeded Emulators via the Device Manager in Android Studio.
- Delete old, unneeded Simulator Runtimes via the Platforms tab in Xcode settings.
- Delete unavailable Simulators by running xcrun simctl delete unavailable.
- Delete files and folders from ~/Library/Developer/Xcode/DerivedData.
- Delete files and folders from ~/.gradle/caches.
No comments:
Post a Comment