Skip to content

Commit 40d698c

Browse files
authored
README.md: Add instructions on how to uninstall from a specific prefix
1 parent 33fe421 commit 40d698c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,11 @@ If you want to run the Homebrew uninstaller non-interactively, you can use:
4242
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
4343
```
4444

45-
Download the uninstall script and run `/bin/bash uninstall.sh --help` to view more uninstall options.
45+
If you want to to uninstall Homebrew from a specific prefix (e.g. when migrating from Intel to Apple Silicon processors), download the uninstall script and run it with `--path`:
46+
47+
```
48+
curl -fsSLO https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh
49+
/bin/bash uninstall.sh --path /usr/local
50+
```
51+
52+
Run the downloaded script with `/bin/bash uninstall.sh --help` to view more uninstall options.

0 commit comments

Comments
 (0)