SysTutorials

Linux Manual Pages › Section 3

npm-rebuild(3)

npm-rebuild — Rebuild a package

Synopsis

npm.commands.rebuild([packages,] callback)

Description

This command runs the npm build command on each of the matched packages. This is useful when you install a new version of node, and must recompile all your C++ addons with the new binary. If no ‘packages’ parameter is specify, every package will be rebuilt.

Configuration

See npm help build