docs: add a section on uninstalling bun (#2560)

This commit is contained in:
dave caruso
2023-04-06 18:12:59 -04:00
committed by GitHub
parent 68670eeb7b
commit b8aca35b76

View File

@@ -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`.