Skip to content

Instantly share code, notes, and snippets.

@prakashcc
Created December 13, 2021 07:13
Show Gist options
  • Save prakashcc/526430f783c6187f5acf92a506d0dd4c to your computer and use it in GitHub Desktop.
Save prakashcc/526430f783c6187f5acf92a506d0dd4c to your computer and use it in GitHub Desktop.
Error: Cannot install in Homebrew on ARM processor
This issue with new macbook M1 chip
Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!
For Resolve follow below steps
Step1
$ brew bundle dump
Step2
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Step3 Edit file below
$ vi ~/.bashrc or vi ~/.zshrc
Edit below line in above file
export PATH=/opt/homebrew/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment