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

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

## SYNOPSIS

    npm rebuild [<name>[@<version>] [<name>[@<version>] ...]]

* `<name>`:
  The package to rebuild
* `<version>`:
  The version range to rebuild.  Any matching installed packages are rebuilt.

## DESCRIPTION

This command runs the `npm build` command on the matched folders.  This is useful
when you install a new version of node, and must recompile all your C++ addons with
the new binary.

Regardless of the configuration settings, rebuild always sets `update-dependents`
and `auto-activate` to false, to minimize unexpected side effects.  It does not
change any state outside of the package's folder.