mirror of
https://github.com/Homebrew/install.git
synced 2026-01-09 05:41:07 +08:00
README.md: Add instructions on how to uninstall from a specific prefix
This commit is contained in:
parent
33fe421206
commit
40d698c609
@ -42,4 +42,11 @@ If you want to run the Homebrew uninstaller non-interactively, you can use:
|
||||
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
|
||||
```
|
||||
|
||||
Download the uninstall script and run `/bin/bash uninstall.sh --help` to view more uninstall options.
|
||||
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`:
|
||||
|
||||
```
|
||||
curl -fsSLO https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh
|
||||
/bin/bash uninstall.sh --path /usr/local
|
||||
```
|
||||
|
||||
Run the downloaded script with `/bin/bash uninstall.sh --help` to view more uninstall options.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user