Created
August 6, 2023 14:19
-
-
Save carlesloriente/d565db45a60dd91a41be5bb9eb68079c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Full script for fixing homebrew update error | |
# Reset | |
sudo rm -rf /Library/Developer/CommandLineTools | |
xcode-select --install | |
# Reset homebrew-cask | |
brew untap homebrew/homebrew-cask - -force | |
brew reinstall cask | |
# Reset homebrew-core | |
brew update-reset -d -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full article: https://www.notesoncloudcomputing.com/posts/2023-08-05-fix-brew-stuck-updating/