Recompiles every package with native code against the current Node version and toolchain. Run it after switching Node versions with nvm or after system libraries change, when modules fail with ABI errors. To rebuild a single package, name it, for example npm rebuild bcrypt.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.