Last active
November 3, 2021 13:25
-
-
Save poma/5964d31885eec4fdd1fbaef815417e6c to your computer and use it in GitHub Desktop.
Updates homebrew after migration to apple silicon
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
# reinstall arm64 brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# add this to your env | |
alias brew-old="arch -x86_64 /usr/local/bin/brew" | |
export PATH="/opt/homebrew/bin:$PATH" | |
# reinstall packages | |
brew-old leaves | xargs brew install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment