Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 876e8bd3d9
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.689 kb

npm-rebuild(1) -- Rebuild a package


npm rebuild [<name>[@<version>] [name[@<version>] ...]]
  • <name>: The package to rebuild
  • <version>: The version range to rebuild. Any matching installed packages are rebuilt.


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.

Jump to Line
Something went wrong with that request. Please try again.