deno remove
deno remove removes dependencies from your project's configuration file. It is
the inverse of deno add.
Basic usage Jump to heading
Remove a package:
>_
deno remove @std/path
Remove multiple packages at once:
>_
deno remove @std/path @std/assert npm:express
Where dependencies are removed from Jump to heading
deno remove will look at both
deno.json and package.json (if
present) and remove the matching dependency from whichever file it is found in.
Command line usage:
deno remove [OPTIONS] [packages]...Remove dependencies from the configuration file.
deno remove @std/path
You can remove multiple dependencies at once:
deno remove @std/path @std/assert
Dependency management options Jump to heading
--frozen<BOOLEAN>optionalError out if lockfile is out of date.
--lock<FILE>optionalCheck the specified lock file. (If value is not provided, defaults to "./deno.lock").
--no-lockDisable auto discovery of the lock file.
Options Jump to heading
--lockfile-onlyInstall only updating the lockfile.