2021-05-10 17:31:02 -04:00
|
|
|
.TH "NPM\-REBUILD" "1" "May 2021" "" ""
|
2011-11-26 09:21:03 -08:00
|
|
|
.SH "NAME"
|
2019-11-18 21:01:39 +02:00
|
|
|
\fBnpm-rebuild\fR \- Rebuild a package
|
2019-11-05 14:55:08 -05:00
|
|
|
.SS Synopsis
|
2014-09-24 14:41:07 -07:00
|
|
|
.P
|
|
|
|
.RS 2
|
2014-11-04 15:08:12 -08:00
|
|
|
.nf
|
2020-12-11 18:54:56 -05:00
|
|
|
npm rebuild [[<@scope>/]<name>[@<version>] \.\.\.]
|
2014-09-24 14:41:07 -07:00
|
|
|
|
2020-12-11 18:54:56 -05:00
|
|
|
alias: rb
|
2015-10-09 23:13:57 -07:00
|
|
|
.fi
|
2014-09-24 14:41:07 -07:00
|
|
|
.RE
|
2019-11-05 14:55:08 -05:00
|
|
|
.SS Description
|
2014-09-24 14:41:07 -07:00
|
|
|
.P
|
2020-12-11 18:54:56 -05:00
|
|
|
This command runs the \fBnpm build\fP 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\. It is also useful when installing with
|
|
|
|
\fB\-\-ignore\-scripts\fP and \fB\-\-no\-bin\-links\fP, to explicitly choose which
|
|
|
|
packages to build and/or link bins\.
|
|
|
|
.P
|
|
|
|
If one or more package names (and optionally version ranges) are provided,
|
|
|
|
then only packages with a name and version matching one of the specifiers
|
|
|
|
will be rebuilt\.
|
2019-11-05 14:55:08 -05:00
|
|
|
.SS See Also
|
2014-09-24 14:41:07 -07:00
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
2019-11-18 21:01:39 +02:00
|
|
|
npm help install
|
2014-09-24 14:41:07 -07:00
|
|
|
|
|
|
|
.RE
|