• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2section: cli-commands
3title: npm-rebuild
4description: Rebuild a package
5---
6
7# npm-rebuild(1)
8
9## Rebuild a package
10
11### Synopsis
12
13```bash
14npm rebuild [[<@scope>/<name>]...]
15
16alias: npm rb
17```
18
19### Description
20
21This 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.
22
23### See Also
24
25* [npm build](/cli-commands/npm-build)
26* [npm install](/cli-commands/npm-install)
27