diff options
author | 2023-09-13 16:07:43 -0500 | |
---|---|---|
committer | 2023-09-13 14:07:43 -0700 | |
commit | 500bd15fb5474ca9d2a6451c2fa00ba225533145 (patch) | |
tree | 589a7643797ded1826d28f19950c72300fd943ad | |
parent | 687e31dc3a16e76926f0eb06155c5357741b05ab (diff) | |
download | bun-500bd15fb5474ca9d2a6451c2fa00ba225533145.tar.gz bun-500bd15fb5474ca9d2a6451c2fa00ba225533145.tar.zst bun-500bd15fb5474ca9d2a6451c2fa00ba225533145.zip |
add uninstall instructions (#5311)
it's always good to have uninstall instructions as well as install, and I couldn't find them anywhere else on the site.
IMO, this gives users a little more confidence to try new tools out, as they know it's easily reversible.
I'm not familiar with how to uninstall with Docker, so would appreciate some help there.
We could possibly add a note for "bash" on how to remove Bun from the `$PATH`.
-rw-r--r-- | docs/installation.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/installation.md b/docs/installation.md index ad6e31c8f..df4d12cea 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -149,3 +149,27 @@ To write the completions to a custom location: $ bun completions > path-to-file # write to file $ bun completions /path/to/directory # write into directory ``` + +## Uninstall + +If you need to remove Bun from your system, use the following commands. + +{% codetabs %} + +```bash#macOS/Linux_(curl) +$ rm -rf ~/.bun # for macOS, Linux, and WSL +``` + +```bash#NPM +$ npm uninstall -g bun +``` + +```bash#Homebrew +$ brew uninstall bun +``` + +```bash#Proto +$ proto uninstall bun +``` + +{% /codetabs %} |