-
-
Save loburets/0c7fed6d07a93da2029471dd79fadd85 to your computer and use it in GitHub Desktop.
clean space mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf ~/Library/Caches/Google | |
rm -rf ~/Library/Caches/Yarn | |
rm -rf ~/Library/Caches/ru.keepcoder.Telegram | |
rm -rf ~/Library/Caches/Cypress | |
rm -rf ~/Library/Caches/JetBrains | |
rm -rf ~/Library/Caches/com.docker.docker | |
rm -rf ~/Library/Containers/com.docker.docker/Data/vms | |
rm -rf ~/Library/Developer/CoreSimulator/Caches/dyld | |
rm -rf ~/Library/Developer/Xcode/DerivedData | |
rm -rf ~/Library/Developer/Xcode/Archives | |
rm -rf ~/java_error_in_phpstorm | |
rm -rf ~/Movies | |
rm ~/java_error_in_phpstorm.hprof | |
## directories inside: | |
rm -rf ~/Library/Containers/com.tinyspeck.slackmacgap/Data/Library/Application\ Support/Slack/Service\ Worker/CacheStorage/ | |
## Extreme deleting: | |
rm -rf ~/Projects/react-ionic/node_modules | |
rm -rf ~/Projects/react-v2/node_modules | |
rm -rf ~/Projects/design-system/node_modules | |
# Empty your bin | |
## Last chance: | |
# Delete xcode /Applications/Xcode.app, docker, virtual machines | |
# sudo rm -rf /Applications/Xcode.app | |
# if doesn't help | |
# sudo rm -rf ~/Library/Developer/Xcode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo du -hs * | sort -h
to check space