diff options
| author | Xu Cheng | 2015-04-08 19:14:43 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-04-08 19:34:21 +0800 | 
| commit | c0d16e5b3d7c5960c79ad19904b1c2a74fe394fc (patch) | |
| tree | 344163480dcef50b28ff98c0fd7ae2e96738cb9f /share | |
| parent | 7e206e5a02aafa597f360f0c7bbf1f0d0b069db0 (diff) | |
| download | homebrew-c0d16e5b3d7c5960c79ad19904b1c2a74fe394fc.tar.bz2 | |
FAQ: update uninstall method
Closes #38457.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'share')
| -rw-r--r-- | share/doc/homebrew/FAQ.md | 15 | 
1 files changed, 7 insertions, 8 deletions
| diff --git a/share/doc/homebrew/FAQ.md b/share/doc/homebrew/FAQ.md index 3a08d5161..bf1f79496 100644 --- a/share/doc/homebrew/FAQ.md +++ b/share/doc/homebrew/FAQ.md @@ -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> | 
