aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/installation.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/installation.md b/docs/installation.md
index e803157a0..f6b983411 100644
--- a/docs/installation.md
+++ b/docs/installation.md
@@ -99,6 +99,14 @@ $ docker run --rm --init --ulimit memlock=-1:-1 oven/bun:edge
this is some output
``` -->
+## 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
+```
+
## TypeScript
To install TypeScript definitions for Bun's built-in APIs in your project, install `bun-types`.