Welcome to mirror list, hosted at ThFree Co, Russian Federation.

uninstall.md « doc - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4edf50f8aa045cbe098fbb4cb59190f6effd05fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
npm-uninstall(1) -- Remove a package
====================================

## SYNOPSIS

    npm uninstall <name>[@<version> [<name>[@<version>] ...]
    npm rm <name>[@<version> [<name>[@<version>] ...]

## DESCRIPTION

This uninstalls a package, completely removing everything installed for it. If
it's currently active, then it will be deactivated first, unless the
`auto-deactivate` config setting is set to "false". If anything is
depending on it, then those must be uninstalled first.

If the version is omitted, then all versions of a package are removed.

`<version>` may in fact be a version range, so these commands are
acceptable:

    npm rm foo@'1.2.3 - 4.8.9'
    npm rm foo@'>=1.0.0'
    npm rm foo@'<2.0.3'