Skip to content

uninstall script not running on M1 migrated from Intel #3437

Discussion options

You must be logged in to vote

Try the following:

PATH=/usr/local/bin:$PATH arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

This "fakes out" the uninstaller in two ways:

  1. Ensures that the Intel Homebrew path takes precedence, for when the uninstaller asks "which brew would normally be run?"
  2. Ensures that the uninstaller is run in an Intel context

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@SMillerDev
Comment options

@Tanish002
Comment options

@osalbahr
Comment options

@Tanish002
Comment options

@jordanaf808
Comment options

Answer selected by quickdry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
8 participants