NODE-PRE-GYP(1)
π NODE-PRE-GYP(1) π
okay bestie, welcome to node-pre-gyp β the native addon binary install tool. yes it's a whole mouthful, yes it's iconic, let's get into it π«Ά
β¨ NAME β¨
node-pre-gyp β native addon binary install tool. that's the whole vibe. it's the girl who handles your compiled native modules so you don't have to compile them yourself, periodt π
πΈ DESCRIPTION πΈ
so the way you talk to her is like this:
Usage: node-pre-gyp <command> [options]
where <command> is one of these queens π:
cleanβ Removes the entire folder containing the compiled.nodemodule. girl gets the broom out, no survivors π§Ήinstallβ Attempts to install pre-built binary for module. lowkey the main character of the whole operation β¨reinstallβ Runs "clean" and "install" at once. two steps, one slay π₯buildβ Attempts to compile the module by dispatching tonode-gypornw-gyp. she's handing it off to the gyp girlies πrebuildβ Runs "clean" and "build" at once. wipe it, then build it, in one go π«packageβ Packs binary (and enclosing directory) into locally staged tarball. tarball szn π¦testpackageβ Tests that the staged package is valid. vibe check on the package π¦publishβ Publishes pre-built binary (requiresaws-sdk). big moment, but heads up β this one requiresaws-sdkβunpublishβ Unpublishes pre-built binary (requiresaws-sdk). the take-backs, also requiresaws-sdkπinfoβ Lists all published binaries (requiresaws-sdk). window shopping, again requiresaws-sdkπtestbinaryβ Tests that thebinary.nodecan be required. does it even load?? let's find out πrevealβ Reveals data on the versioned binary. the tea β, spilledconfigureβ Attempts to configurenode-gypornw-gypbuild. setting the stage before the show π
ngl bestie, note the pattern: anything that touches the internet shelf βpublish,unpublish,infoβ is gonna needaws-sdk. noaws-sdk, no service. fr fr π
that's the whole page, babe. go forth and pre-gyp responsibly π
βΏ this lil guide was written up in April 2016, for the NODE-PRE-GYP(1) manual βΏ ππ¦π
π¦ where this page comes from
- debian bookworm: node-pre-gyp 1.0.10+~2.0.1-1 Β· BSD-3-Clause
- debian trixie: node-pre-gyp 1.0.11+~2.0.3-1 Β· BSD-3-Clause
- ubuntu jammy: node-pre-gyp 1.0.8+~1.0.3-1 Β· BSD-3-Clause
- ubuntu noble: node-pre-gyp 1.0.10+~2.0.1-2 Β· BSD-3-Clause
- ubuntu questing: node-pre-gyp 1.0.11+~2.0.3-1
- ubuntu resolute: node-pre-gyp 1.0.11+~2.0.3-3 Β· BSD-3-Clause
- ubuntu stonking: node-pre-gyp 1.0.11+~2.0.3-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms