UNPKG

npm

Version:

A package manager for node

19 lines (17 loc) 699 B
<h1><a href="../cli/npm-rebuild.html">npm-rebuild</a></h1> <p>Rebuild a package</p> <h2 id="synopsis">SYNOPSIS</h2> <pre><code>npm rebuild [&lt;name&gt; [&lt;name&gt; ...]] npm rb [&lt;name&gt; [&lt;name&gt; ...]] </code></pre><ul> <li><code>&lt;name&gt;</code>: The package to rebuild</li> </ul> <h2 id="description">DESCRIPTION</h2> <p>This command runs the <code>npm build</code> 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.</p> <h2 id="see-also">SEE ALSO</h2> <ul> <li><a href="../cli/npm-build.html">npm-build(1)</a></li> <li><a href="../cli/npm-install.html">npm-install(1)</a></li> </ul>