Skip to content

Instantly share code, notes, and snippets.

@melMass
Last active October 30, 2016 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melMass/b744b7c4de7e2334bc452499fc2a1bb1 to your computer and use it in GitHub Desktop.
Save melMass/b744b7c4de7e2334bc452499fc2a1bb1 to your computer and use it in GitHub Desktop.

Migrate Brew Cask

  1. Move the casks to the new location
sudo mv /opt/homebrew-cask/Caskroom /usr/local
  1. Retrieve the list of installed Casks
brew cask list
  1. Loop each Cask and reinstall
for cask in $(brew cask list); do brew cask install $cask --force; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment