node-gyp <command> [args]
node-gyp
is a cross-platform command-line tool for compiling native
addon modules for Node.js, taking away the pain of dealing with the
various differences in build platforms.
It is the replacement to the node-waf
program, which is removed since
node 0.8. Native addons still using a wscript
file should definitely
add a binding.gyp
file to support the latest versions of node.
Multiple target versions of node are supported (from node 0.6 to the
next released version), regardless of what version of node is actually
installed on your system; node-gyp
downloads the necessary development
files for the target version.
build
Invokesmake
/msbuild.exe
and builds the native addonclean
Removes any thebuild
dir if it existsconfigure
Generates project build files for the current platformrebuild
Runsclean
,configure
andbuild
all in a rowinstall
Installs node development header files for the given versionlist
Lists the currently installed node development file versionsremove
Removes the node development header files for the given version
README.md