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.

Revisions

  1. prakashcc created this gist Dec 13, 2021.
    21 changes: 21 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    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