aboutsummaryrefslogtreecommitdiff
path: root/docs/troubleshooting.md
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-07-24 17:16:34 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-07-24 17:16:34 -0700
commitac10a1b6331c1451dec3e65bb1c34b3bd65a6851 (patch)
tree929ff3b694c6feef69572795c7bd2df7bb30e599 /docs/troubleshooting.md
parent961312eab0e44b6b67c3bde536991d442da1118e (diff)
downloadbun-ac10a1b6331c1451dec3e65bb1c34b3bd65a6851.tar.gz
bun-ac10a1b6331c1451dec3e65bb1c34b3bd65a6851.tar.zst
bun-ac10a1b6331c1451dec3e65bb1c34b3bd65a6851.zip
move this to troubleshooting
Diffstat (limited to 'docs/troubleshooting.md')
-rw-r--r--docs/troubleshooting.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index d104f3bd5..58a670ceb 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -57,3 +57,11 @@ $ sudo zypper install unzip
### bun install is stuck
Please run `bun install --verbose 2> logs.txt` and send them to me in Bun's discord. If you're on Linux, it would also be helpful if you run `sudo perf trace bun install --silent` and attach the logs.
+
+### Uninstalling
+
+Bun's binary and install cache is located in `~/.bun` by default. To uninstall bun, delete this directory and edit your shell config (`.bashrc`, `.zshrc`, or similar) to remove `~/.bun/bin` from the `$PATH` variable.
+
+```sh
+$ rm -rf ~/.bun # make sure to remove ~/.bun/bin from $PATH
+```