FAQ: update uninstall method
Closes Homebrew/homebrew#38457. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
3587dc441e
commit
b77c7ad442
@ -44,14 +44,13 @@ to see what would be cleaned up:
|
|||||||
<a name="uninstall"></a>
|
<a name="uninstall"></a>
|
||||||
|
|
||||||
### How do I uninstall Homebrew?
|
### How do I uninstall Homebrew?
|
||||||
If you installed to `/usr/local` then you can use the script in [this
|
To uninstall Homebrew, paste the command below in a terminal prompt.
|
||||||
gist](https://gist.github.com/1173223) to uninstall — it will only
|
|
||||||
remove Homebrew and the stuff Homebrew installed leaving anything else
|
|
||||||
in `/usr/local` alone.
|
|
||||||
|
|
||||||
Provided you haven’t put anything else in Homebrew’s prefix
|
```bash
|
||||||
(`brew --prefix`), you can generally just `rm -rf` that directory. This
|
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
|
||||||
is because Homebrew won’t touch files outside its prefix.
|
```
|
||||||
|
Download the [uninstall script](https://raw.githubusercontent.com/Homebrew/install/master/uninstall)
|
||||||
|
and run `./uninstall --help` to view more uninstall options.
|
||||||
|
|
||||||
<a name="uninstall-package"></a>
|
<a name="uninstall-package"></a>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user