Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
opt
/
nodejs-14
/
usr
/
lib
/
node_modules
/
npm
/
docs
/
content
/
cli-commands
/
//proc/self/root/opt/nodejs-14/usr/lib/node_modules/npm/docs/content/cli-commands/npm-rebuild.md
--- section: cli-commands title: npm-rebuild description: Rebuild a package --- # npm-rebuild(1) ## Rebuild a package ### Synopsis ```bash npm rebuild [[<@scope>/<name>]...] alias: npm rb ``` ### Description 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. ### See Also * [npm build](/cli-commands/npm-build) * [npm install](/cli-commands/npm-install)