From b8aca35b76ea30cd15d038a498d2ecc2dc8d5133 Mon Sep 17 00:00:00 2001 From: dave caruso Date: Thu, 6 Apr 2023 18:12:59 -0400 Subject: docs: add a section on uninstalling bun (#2560) --- docs/installation.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/installation.md') 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`. -- cgit v1.2.3