On this page

deno uninstall

Uninstalls an executable script in the installation root's bin directory.

Command Jump to heading

deno uninstall [OPTIONS] <NAME> - Uninstalls name.

Synopsis Jump to heading

deno uninstall [--root <root>] [-g|--global] [-q|--quiet] <NAME>

deno uninstall -h|--help

Description Jump to heading

When uninstalling, the installation root is determined in the following order:

  • --root option
  • DENO_INSTALL_ROOT environment variable
  • $HOME/.deno

Arguments Jump to heading

NAME

The name of the script to uninstall.

Options Jump to heading

  • --root <root> Installation root

  • -g, --global Remove globally installed package or module

  • -q, --quiet Suppress diagnostic output

  • -h, --help

    Prints help information

Examples Jump to heading

  • Uninstall serve
deno uninstall serve
  • Uninstall serve from a specific installation root
deno uninstall --root /usr/local serve