diff options
author | 2023-04-06 18:12:59 -0400 | |
---|---|---|
committer | 2023-04-06 15:12:59 -0700 | |
commit | b8aca35b76ea30cd15d038a498d2ecc2dc8d5133 (patch) | |
tree | 99389e9d8daeef044087dd4dd0474624d3206b4d | |
parent | 68670eeb7b5d55e257e536d102009cc1e5b11631 (diff) | |
download | bun-b8aca35b76ea30cd15d038a498d2ecc2dc8d5133.tar.gz bun-b8aca35b76ea30cd15d038a498d2ecc2dc8d5133.tar.zst bun-b8aca35b76ea30cd15d038a498d2ecc2dc8d5133.zip |
docs: add a section on uninstalling bun (#2560)
-rw-r--r-- | docs/installation.md | 8 |
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`. |