Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active May 13, 2026 12:58
Show Gist options
  • Select an option

  • Save mcandre/fe0e1eefe94c714198ce to your computer and use it in GitHub Desktop.

Select an option

Save mcandre/fe0e1eefe94c714198ce to your computer and use it in GitHub Desktop.
Homebrew: Clearing cache and updating Casks

Clear Homebrew cache

$ brew cleanup --prune=all

Update Casks

Once the cache is cleared, brew cask will see the latest versions of all Casks.

$ brew install gimp
@kid1412621

Copy link
Copy Markdown

I think nowadays remove without sudo is possible and safe.

@tedmiston

Copy link
Copy Markdown
brew cleanup --prune=all

is a nicer way to do this

@troybain

Copy link
Copy Markdown

I really like it. This way is really good.

@m20027

m20027 commented Jan 23, 2026

Copy link
Copy Markdown

Thanks !

@HEMCHARANV

Copy link
Copy Markdown

That's awesome bro

@fischblob-lol

Copy link
Copy Markdown

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment