mingliangguo
10/1/2015 - 10:47 PM

brew clean up recipe

brew clean up recipe

Error: Failed to update tap: caskroom/versions


brew untap caskroom/cask
brew update
brew cleanup --force -s
rm -rf "$(brew --cache)"
brew tap caskroom/cask
This removed what I believe is a unnecessary single quote in the rm command and a period that was probably not intended after the last command
Also in my case, I needed to add sudo for the remove command
sudo rm -rf "$(brew --cache)"