Skip to content

brew cleanup doesn't clean ~/Library/Caches/Homebrew #3784

@galad87

Description

@galad87

I noticed brew keeps a copy of the files it downloads in ~/Library/Caches/Homebrew , and the "brew doctor" command doesn't clean it.

For example:

[damians@iMac ~]$ brew cleanup
Removing: /usr/local/Cellar/ffmpeg/3.4.1... (248 files, 50.9MB)
Removing: /usr/local/Cellar/x264/r2795... (11 files, 3.2MB)
==> This operation has freed approximately 54.1MB of disk space.

And in the Cache folder there are still:

[damians@iMac ~]$ ls ~/Library/Caches/Homebrew
ffmpeg-3.4.1_1.high_sierra.bottle.tar.gz x264-r2854.high_sierra.bottle.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions