Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active February 25, 2025 20:35
Show Gist options
  • Save mcandre/fe0e1eefe94c714198ce to your computer and use it in GitHub Desktop.
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

I think nowadays remove without sudo is possible and safe.

@tedmiston
Copy link

brew cleanup --prune=all

is a nicer way to do this

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