Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove old cask's install file #481

Closed
linhmtran168 opened this issue Jun 10, 2013 · 1 comment
Closed

How to remove old cask's install file #481

linhmtran168 opened this issue Jun 10, 2013 · 1 comment

Comments

@linhmtran168
Copy link
Contributor

Today, I updated calibre with brew cask uninstall calibre && brew cask install calibre. But because the old calibre dmg was still in homebrew caches folder, brew cask did not download the new dmg and use the old one to install calibre instead. I had to manually remove the old dmg to install the new version.

Is there a way so that when i uninstall a cask, its installer file is also removed?

@vitorgalvao
Copy link
Member

Yes, you can run brew cleanup --force -s && rm -rf $(brew --cache).

A better way to upgrade is being discussed, though, so please add your thoughts there.

@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants