---
name: "npm-rebuild"
section: "3"
platform: "linux"
package: "npm"
version: "1.4.21+ds-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/npm-rebuild/3"
---

# npm-rebuild(3)

Rebuild a package

## NAME

**npm-rebuild** - Rebuild a package

## SYNOPSIS

```
npm.commands.rebuild([packages,] callback)
```

## DESCRIPTION

This command runs the **npm build** command on each of the matched packages. This is useful when you install a new version of node, and must recompile all your C++ addons with the new binary. If no ´packages´ parameter is specify, every package will be rebuilt.

## CONFIGURATION

See **npm help build**
