NODE-GYP(1)
π NODE-GYP(1) π
okay bestie, listen up β this is the node-gyp manual page, and I'm gonna walk you through it like we're texting at 2am π¦
β¨ NAME β¨
node-gyp β the native addon build tool for node, and yes she's that girl π
β¨ SYNOPSIS β¨
node-gyp <command> [args]
β¨ DESCRIPTION β¨
okay so node-gyp is a cross-platform command-line tool for compiling native addon modules for Node.js, and the whole point of her is that she takes away the pain of dealing with all the different differences between build platforms π like she just handles it, no cap. She is the replacement for the node-waf program, which got removed back in node 0.8. So if you have native addons still out here using a wscript file, bestie, you definitely need to add a binding.gyp file so you can support the latest versions of node. periodt.
Also she supports multiple target versions of node β from node 0.6 all the way to the next released version β and that's true regardless of what version of node is actually installed on your system. Like, she does not care what you have going on locally π because node-gyp just downloads the necessary development files for whatever target version you want. main character energy fr fr.
β¨ COMMANDS β¨
buildβ invokesmake/msbuild.exeand builds the native addon π₯cleanβ removes the build dir if it exists π§Ήconfigureβ generates project build files for the current platform πΈrebuildβ runsclean,configureandbuildall in a row, one after the other, slayinstall <version>β installs the node development header files for the given version π¦listβ lists the currently installed node development file versions βremove <version>β removes the node development header files for the given version ποΈ
β¨ SEE ALSO β¨
README.md β go read her, she's iconic π«Ά
and that's the whole page!! this one's from March 2013, and yeah it's literally titled NODE-GYP(1) at the bottom too β vintage but still eating π mwah, go build something cute π
π¦ where this page comes from
- debian bookworm: node-gyp 9.3.0-2 Β· MIT
- debian trixie: node-gyp 11.1.0+~5.0.0-1 Β· MIT
- ubuntu jammy: node-gyp 8.4.1-1 Β· MIT
- ubuntu noble: node-gyp 9.3.0-3 Β· MIT
- ubuntu questing: node-gyp 11.4.0+~5.0.0-2
- ubuntu resolute: node-gyp 12.1.0+~6.1.0-3 Β· MIT
- ubuntu stonking: node-gyp 12.3.0+~6.1.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms