Skip to content

Instantly share code, notes, and snippets.

@taynguyen
Created January 22, 2021 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taynguyen/9e46f21ffaeee79d21d0d38f5d85efc9 to your computer and use it in GitHub Desktop.
Save taynguyen/9e46f21ffaeee79d21d0d38f5d85efc9 to your computer and use it in GitHub Desktop.
How I cleanup about 150 Gb storage of my macbook
How I cleanup about 150 Gb storage of my macbook.
- Currently, I used mac book that have 256Gb SSD. On an beautiful day, I opened the Storage check, and see that I only have 30Gb left. That's quite shocking. This is my working laptop, shouldn't have any thing that too heavily effect on volumn.
After some check I found that 2 big monster that eaten my volume:
- Docker: When you used docker, after a while, you would have tons of images, containers, volume, those things are very big on size. So, I use `prune` to clean up all my obsoleted images, containers, volumes.
- The Cache: The mother of monster is here: `/Users/<your_username>/Library/Caches/`. So, I run: `rm -rf /Users/taynguyen/Library/Caches/`, it takes about 15mins to completed.
Boom, I recovered about 140Gb of my SSD.
What's fun thing. :D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment