From 9ff7c47a9bda4ca2b090c1ff45b4930da1639097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 8 Apr 2026 08:59:57 +0200 Subject: [PATCH] docs: add uninstall instructions to installation page Adds a section explaining how to fully uninstall Deno on macOS/Linux and Windows, including removing the binary, cache, and PATH entries. Closes #2738, closes #2722, closes #2721, closes #2714 Co-Authored-By: Claude Opus 4.6 (1M context) --- runtime/getting_started/installation.md | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/runtime/getting_started/installation.md b/runtime/getting_started/installation.md index 4cc474fdb..f26f7ec9c 100644 --- a/runtime/getting_started/installation.md +++ b/runtime/getting_started/installation.md @@ -238,6 +238,45 @@ You can also use this utility to install a specific version of Deno: deno upgrade --version 1.0.1 ``` +## Uninstalling + +If you installed Deno using the shell or PowerShell install script, you can +uninstall it by removing the Deno installation directory and its cache: + + + + +```shell +rm -rf ~/.deno +``` + +You should also remove the Deno cache directory if it exists: + +```shell +rm -rf ~/.cache/deno +``` + +Finally, remove the `DENO_INSTALL` export and `PATH` entry from your shell +config file (`~/.bashrc`, `~/.zshrc`, `~/.config/fish/config.fish`, etc.). + + + + +```powershell +Remove-Item -Recurse -Force "$env:USERPROFILE\.deno" +Remove-Item -Recurse -Force "$env:LOCALAPPDATA\deno" +``` + +You should also remove the Deno `bin` directory from your `PATH` environment +variable via System Settings. + + + + +If you installed Deno via a package manager (Homebrew, Scoop, Chocolatey, etc.), +use that package manager's uninstall command instead (e.g. +`brew uninstall deno`, `scoop uninstall deno`). + ## Building from source Information about how to build from source can be found in the