Skip to content

Instantly share code, notes, and snippets.

@MateuszKubuszok
Last active January 7, 2022 09:47
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 MateuszKubuszok/233c237434c1395e07f3d3a9445c06ff to your computer and use it in GitHub Desktop.
Save MateuszKubuszok/233c237434c1395e07f3d3a9445c06ff to your computer and use it in GitHub Desktop.
Migrate brew from Intel to M1 after transfer
#!/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
@MateuszKubuszok
Copy link
Author

I suggest running from build-in terminal rather than iTerm2 as it would be reinstalled in the process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment