Skip to content
Snippets Groups Projects
Commit b77c7ad4 authored by Xu Cheng's avatar Xu Cheng
Browse files

FAQ: update uninstall method


Closes Homebrew/homebrew#38457.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent 3587dc44
No related branches found
No related tags found
No related merge requests found
......@@ -44,14 +44,13 @@ to see what would be cleaned up:
<a name="uninstall"></a>
### How do I uninstall Homebrew?
If you installed to `/usr/local` then you can use the script in [this
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
(`brew --prefix`), you can generally just `rm -rf` that directory. This
is because Homebrew won’t touch files outside its prefix.
To uninstall Homebrew, paste the command below in a terminal prompt.
```bash
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
```
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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment