---
# System prepended metadata

title: Macos

---


## Storage cleaning
- Check size of dirs `du -s ./* | sort -h`
- Chrome
    - Remove browser cache
- Time Machine
    - cmds
        - `tmutil listbackups`
        - `tmutil listlocalsnapshotdates`
        - `tmutil listlocalsnapshots /`
- Look to see if there’s Mac OS upgrade installed but not upgraded
    - Upgrade it, or else the installation file takes space
- Checkout `~/library`
    - Clean `~/Library/Caches` (But cache helps in performance)
- Social
    - Delete line cache
        - `rm -rf /Users/<USER>/Library/Containers/jp.naver.line.mac/*`
- Programming
    - Docker
        - `docker system prune -a`
        - `docker volume prune -f`
        - Sometimes an update or re-installation is needed
    - Tools
        - `yarn cache clean`
        - `go clean -modcache`
        - `pnpm store prune`
