npm-rebuild
Rebuild native Node.js packages after Node or dependency changes. tldr-pages
On several platforms
Several platforms
Rebuild a specific package
npm [rb packageIdentifyRebuild all installed packages
npm [rbIdentifyRebuild with verbose output
npm [rb --verboseIdentifyRebuild a package in a specific directory
npm [rb --prefix path/to/dir packageIdentifyRebuild without using the npm cache
npm [rb --no-cacheIdentifyRebuild in global mode
npm [rb --globalIdentify