macoshomebrewhomebrew-cask

How can I remove a cask without uninstalling the application?


I recently installed an app with homebrew-cask, but I want to handle its updates by myself and not via brew upgrade --cask <app>.

Is there a command or option to remove a cask from the local list, without uninstalling it?

If I use brew remove --cask <app> or brew uninstall --cask <app> the app will be uninstalled.

I'm looking for something like brew forget --cask <app> or something similar.


Solution

  • I found an answer over at Apple Stack Exchange: Delete the folder of the app you want to forget from /usr/local/Caskroom. On Apple silicon Macs, the location is /opt/homebrew/Caskroom