mirror of
https://github.com/nodejs/node.git
synced 2025-05-17 16:03:23 +00:00

PR-URL: https://github.com/nodejs/node/pull/30271 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
29 lines
492 B
Markdown
Executable File
29 lines
492 B
Markdown
Executable File
---
|
|
section: cli-commands
|
|
title: npm-rebuild
|
|
description: Rebuild a package
|
|
---
|
|
|
|
# npm-rebuildd
|
|
|
|
## 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)
|