{"repo":"nodejs/node-gyp","free":true,"listed":false,"github":"https://github.com/nodejs/node-gyp","clone":"git clone https://github.com/nodejs/node-gyp.git","description":"Node.js native addon build tool","language":"Python","stars":10683,"topics":["node-gyp","gyp","node-addon","nodejs","node"],"license":"MIT","category":"cli-tools","readme_excerpt":"node-gyp - Node.js native addon build tool node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js. It contains a vendored copy of the gyp-next project that was previously used by the Chromium team and extended to support the development of Node.js native addons. Note that node-gyp is not used to build Node.js itself. All current and LTS target versions of Node.js are supported. Depending on what version of Node.js is actually installed on your system node-gyp downloads the necessary development files or headers for the target version. List of stable Node.js versions can be found on Node.js website. Features The same build commands work on any of the supported platforms Supports the targeting of different versions of Node.js Installation [!Important] Python = v3.12 requires node-gyp = v10 You can install node-gyp using npm : Depending on your operating system, you will need to install: On Unix A supported version of Python make A proper C/C++ compiler toolchain, like GCC On macOS A supported version of Python Xcode Command Line Tools which will install clang , clang++ , and make . Install the Xcode Command Line Tools standalone by running xcode-select --install . -- OR -- Alternatively, if you already have the full Xcode installed, you can install the Command Line Tools under the menu Xcode - Open Developer Tool - More Developer Tools... . On Windows Install tools with Chocolatey: Or install and configure Python and Vis","default_branch":null,"files":null,"tree":[],"storefront":"/r/nodejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nodejs/node-gyp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}