<h1><ahref="../api/npm-rebuild.html">npm-rebuild</a></h1><p>Rebuild a package</p><h2id="synopsis">SYNOPSIS</h2><pre><code>npm.commands.rebuild([packages,] callback)</code></pre><h2id="description">DESCRIPTION</h2><p>This command runs the <code>npm build</code> command on each of the matched packages. This is usefulwhen you install a new version of node, and must recompile all your C++ addons withthe new binary. If no 'packages' parameter is specify, every package will be rebuilt.</p><h2id="configuration">CONFIGURATION</h2><p>See <code>npm help build</code></p>