Last active
January 7, 2022 09:47
-
-
Save MateuszKubuszok/233c237434c1395e07f3d3a9445c06ff to your computer and use it in GitHub Desktop.
Migrate brew from Intel to M1 after transfer
This file contains 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 | |
brew bundle dump --file Brewfile | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suggest running from build-in terminal rather than iTerm2 as it would be reinstalled in the process