Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion runtime/reference/cli/remove.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
last_modified: 2025-03-10
last_modified: 2026-06-25
title: "deno remove"
command: remove
openGraphLayout: "/open_graph/cli-commands.jsx"
Expand Down Expand Up @@ -32,3 +32,15 @@ present) and remove the matching dependency from whichever file it is found in.

Removing a dependency does not delete it from the global cache. To reclaim disk
space, see [`deno clean`](/runtime/reference/cli/clean/).

## Removing a global executable

Pass `--global` (or `-g`) to remove a globally installed executable script, the
same as [`deno uninstall --global`](/runtime/reference/cli/uninstall/):

```sh
deno remove --global serve
```

A global removal targets a single executable, so you cannot combine `--global`
with multiple names. Use `--root` to target a custom installation root.