diff options
| author | Xu Cheng | 2015-04-08 19:14:43 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-04-08 19:34:21 +0800 |
| commit | b77c7ad4427b97cfcf694002dea88fdff9136c38 (patch) | |
| tree | 92d685918e5b70cfb8c5e39a58be39004e7c68a7 /share | |
| parent | 3587dc441e0c7f649dbda67a12e4b4c87e434885 (diff) | |
| download | brew-b77c7ad4427b97cfcf694002dea88fdff9136c38.tar.bz2 | |
FAQ: update uninstall method
Closes Homebrew/homebrew#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> |
