homebrew – Migrate home-brew back from M1 to Intel

Spread the love


I needed to migrate back from a M1 MacBook to an Intel one again. Yes I do not like it either but that is my challenge. I used build in the Migration Assistant from Apple to copy over all relevant files and settings. Home-brew folder exists on contains the old M1 installation.

Now every time I try to do anything I get the following error:

Error: Cannot install on Intel processor in ARM default prefix (/opt/homebrew)! 
Error: 'git' must be installed and in your PATH!

Trying to install git also does not work:

xxxxx@xxxxx:~$ brew install git
git 2.33.1 is already installed but outdated
Error: Cannot install on Intel processor in ARM default prefix (/opt/homebrew)!
Error: 'git' must be installed and in your PATH!
git 2.33.1 is already installed but outdated
Error: Cannot install on Intel processor in ARM default prefix (/opt/homebrew)!

brew doctor also didn’t help.

Author: Dhanraj7978

Leave a Reply

Your email address will not be published. Required fields are marked *