Skip to content
npm Docs
npmjs.comStatusSupport
About npm
Getting started
Packages and modules
Integrations
Organizations
Policies
Threats and Mitigations
npm CLI
CLI Commands
npm
npm access
npm adduser
npm audit
npm bin
npm bugs
npm build
npm bundle
npm cache
npm ci
npm completion
npm config
npm dedupe
npm deprecate
npm dist-tag
npm docs
npm doctor
npm edit
npm explore
npm fund
npm help
npm help-search
npm hook
npm init
npm install
npm install-ci-test
npm install-test
npm link
npm logout
npm ls
npm org
npm outdated
npm owner
npm pack
npm ping
npm prefix
npm profile
npm prune
npm publish
npm rebuild
npm repo
npm restart
npm root
npm run-script
npm search
npm shrinkwrap
npm star
npm stars
npm start
npm stop
npm team
npm test
npm token
npm uninstall
npm unpublish
npm update
npm version
npm view
npm whoami
Configuring npm
Using npm

npm-rebuild

Rebuild a package
Table of contents
  • Synopsis
  • Description
  • See Also
Table of contents
  • Synopsis
  • Description
  • See Also

Synopsis

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
  • npm install
Edit this page on GitHub