Closed robb1e closed 7 years ago
I think you need to remove the existing /Applications/iTerm.app
in order for the cask installation to succeed. I think this is because brew cask
assumes it doesn't own that app and doesn't want to overwrite it.
As for the Caskroom location that was a change that happened in 2016 I think. Probably easiest to follow the Homebrew docs, or just start with fresh machine.
The link in the error points you to do mv /opt/homebrew-cask/Caskroom /usr/local
which seems to have cleared up the issue.
I'm getting this error on a new install of OS 10.12.3