Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active December 12, 2016 02:43
Show Gist options
  • Save mcandre/390069abb4b569833afb96a5c14d7e57 to your computer and use it in GitHub Desktop.
Save mcandre/390069abb4b569833afb96a5c14d7e57 to your computer and use it in GitHub Desktop.
Homebrew Cask fix

brew cask (un|re)install --force may fail, esp. when two bad states coincide: A) Homebrew poorly transitioning to a new location for Caskroom tapped applications; and B) Some Caskroom tapped applications have been "deleted" by non-brew means, such as deleting the *.app in Finder, or using "Storage Manager.app".

Workaround:

$ brew install --force <app> && brew uninstall --force <app>

Workaround x2:

$ brew cask zap <app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment