LinuxCommandLibrary

npm-rb

rebuilds packages with native addons

TLDR

Rebuild all packages

$ npm rb
copy
Rebuild specific package
$ npm rb [package-name]
copy
Rebuild global packages
$ npm rb -g
copy

SYNOPSIS

npm rb [packages]

DESCRIPTION

npm rb rebuilds packages with native addons. Alias for npm rebuild.
The command recompiles binaries. Useful after Node.js version change.

PARAMETERS

PACKAGES

Packages to rebuild.
-g
Rebuild global packages.
--help
Display help information.

CAVEATS

Alias for npm rebuild. Affects native addons. May require build tools.

HISTORY

npm rb provides native module rebuilding when Node.js version or system changes.

SEE ALSO

npm(1), npm-rebuild(1), node-gyp(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community