nodejs/deps/npm/man/man1/npm-rebuild.1

30 lines
775 B
Groff
Raw Normal View History

.TH "NPM\-REBUILD" "1" "May 2021" "" ""
.SH "NAME"
\fBnpm-rebuild\fR \- Rebuild a package
.SS Synopsis
2014-09-24 14:41:07 -07:00
.P
.RS 2
2014-11-04 15:08:12 -08:00
.nf
npm rebuild [[<@scope>/]<name>[@<version>] \.\.\.]
2014-09-24 14:41:07 -07:00
alias: rb
.fi
2014-09-24 14:41:07 -07:00
.RE
.SS Description
2014-09-24 14:41:07 -07:00
.P
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\.
.SS See Also
2014-09-24 14:41:07 -07:00
.RS 0
.IP \(bu 2
npm help install
2014-09-24 14:41:07 -07:00
.RE